]> xenbits.xensource.com Git - libvirt.git/commit
qemu_capabilities: Add QEMU_CAPS_QUERY_CURRENT_MACHINE
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 24 Apr 2019 21:16:27 +0000 (18:16 -0300)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Apr 2019 09:43:53 +0000 (11:43 +0200)
commitdca1b1d007c7efda675fce30ae63d701a09acd43
treea6e7b1d36c6ed8252d7c016ab1c6efb691e8a6b6
parent9470815d54693feae64714c79add0f733a3f0fda
qemu_capabilities: Add QEMU_CAPS_QUERY_CURRENT_MACHINE

QEMU commit 46ea94ca9cf ("qmp: query-current-machine with
wakeup-suspend-support") added a new QMP command called
'query-current-machine' that retrieves guest parameters that
can vary in the same machine model (e.g. ACPI support for x86 VMs
depends on the '--no-acpi' option). Currently, this API has a single
flag, 'wakeup-suspend-support', that indicates whether the guest has
the capability of waking up from suspended state.

Introduce a libvirt capability that reflects whether qemu has the
monitor command.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml
tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml
tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml