]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add QEMU_CAPS_MACHINE_VMPORT_OPT
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 2 Apr 2015 16:43:47 +0000 (18:43 +0200)
committerMarc-André Lureau <marcandre.lureau@gmail.com>
Mon, 4 May 2015 11:19:38 +0000 (13:19 +0200)
commit384a06f5f2116b1a7784d55e4dff81642b5425e6
tree4f7b4c9d01d38e5bdfaf958482591809ffc3ce87
parent39343bc82c93740f098d24687a2296d5372622cf
qemu: add QEMU_CAPS_MACHINE_VMPORT_OPT

Set the capability based on qmp query, or qemu version.  The qmp query
includes vmport with 2.2, but no longer with 2.3. It lists only
non-machine specific capabilities, so check the qemu version too until a
machine-specific query is supported.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h