[PATCH 0/3] introducing QEMU_CAPS_QUERY_CURRENT_MACHINE and QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In this series, I present the Libvirt support for a QEMU API that
will be introduced in QEMU 4.0, called 'query-current-machine'.
More background info about the API and its purpose can be found in
the commit msg of patch 1.

Patch 1 contains the caps declarations (a short patch, perhaps
squashable with patch 2).

Patch 2 enable the QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT cap by querying
'query-current-machine', if the QEMU binary supports it.

Patch 3 uses the caps inside qemuDomainPMSuspendForDuration to avoid
suspending a domain that can't wake up from suspend.


Daniel Henrique Barboza (3):
  adding QEMU_CAPS_QUERY_CURRENT_MACHINE and
    QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT
  setting QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT qemu capability
  qemuDomainPMSuspendForDuration: check for
    QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT

 src/qemu/qemu_capabilities.c |  5 +++++
 src/qemu/qemu_capabilities.h |  4 ++++
 src/qemu/qemu_driver.c       | 24 +++++++++++++++++++++++
 src/qemu/qemu_monitor.c      |  8 ++++++++
 src/qemu/qemu_monitor.h      |  3 +++
 src/qemu/qemu_monitor_json.c | 35 +++++++++++++++++++++++++++++++++
 src/qemu/qemu_monitor_json.h |  4 ++++
 src/qemu/qemu_process.c      | 38 ++++++++++++++++++++++++++++++++++++
 8 files changed, 121 insertions(+)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux