]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Optimize machine option to set more options with it
authorLi Zhang <zhlcindy@linux.vnet.ibm.com>
Fri, 29 Mar 2013 05:22:46 +0000 (13:22 +0800)
committerEric Blake <eblake@redhat.com>
Tue, 2 Apr 2013 13:02:34 +0000 (07:02 -0600)
commitf84b92ea19588ac9056f1f2b579cf630b76b8949
tree32beeb60b0df586109f9eda246e1d60b324e22ff
parentf8e3221f9905972cf6d9aa78fd683f99e3bb13f3
Optimize machine option to set more options with it

Currently, -machine option is used only when dump-guest-core is set.

To use options defined in machine option for newer version of QEMU,
it needs to use -machine xxx, and to be compatible with older version
-M, this patch adds QEMU_CAPS_MACHINE_OPT capability for newer
version which supports -machine option.

Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuhelptest.c
tests/qemuxml2argvtest.c