]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add support for dump-guest-core option
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 15 Aug 2012 07:59:24 +0000 (09:59 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 20 Sep 2012 14:41:07 +0000 (16:41 +0200)
commitff2d5a3d8acded54dd1e7a660ca72f5f04c9235d
tree12010f20b6b16879e224f5d6ff7fe2ced714444a
parent78f3666fe929428016ce55694094f65efb0b9a0f
qemu: add support for dump-guest-core option

The "dump-guest-core' option is new option for the machine type
(-machine pc,dump-guest-core) that controls whether the guest memory
will be marked as dumpable.

While testing this, I've found out that the value for the '-M' options
is not parsed correctly when additional parameters are used. However,
when '-machine' is used for the same options, it gets parsed as
expected. That's why this patch also modifies the parsing and creating
of the command line, so both '-M' and '-machine' are recognized. In
QEMU's help there is only mention of the 'machine parameter now with
no sign of the older '-M'.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuhelptest.c