This is v3 of:

https://www.redhat.com/archives/libvir-list/2019-April/msg00690.html

I've taken Daniel's patches and reworked them.

Diff to v2:
- Patches 1-2/3 are split into three patches
- Capability is checked for when querying other capabilities
- Fixed a small security issue in 3/3

Daniel Henrique Barboza (2):
  qemu_capabilities: Add QEMU_CAPS_QUERY_CURRENT_MACHINE
  qemuDomainPMSuspendForDuration: check for QEMU_CAPS_PM_WAKEUP_SUPPORT

Michal Prívozník (2):
  qemu_monitor: Introduce handler for 'query-current-machine' command
  qemu_capabilities: Introduce QEMU_CAPS_PM_WAKEUP_SUPPORT

 src/qemu/qemu_capabilities.c                  | 26 ++++++++++
 src/qemu/qemu_capabilities.h                  |  4 ++
 src/qemu/qemu_driver.c                        | 21 ++++++++
 src/qemu/qemu_monitor.c                       | 10 ++++
 src/qemu/qemu_monitor.h                       |  9 ++++
 src/qemu/qemu_monitor_json.c                  | 50 +++++++++++++++++++
 src/qemu/qemu_monitor_json.h                  |  5 ++
 .../caps_4.0.0.riscv32.replies                | 11 ++++
 .../caps_4.0.0.riscv32.xml                    |  2 +
 .../caps_4.0.0.riscv64.replies                | 11 ++++
 .../caps_4.0.0.riscv64.xml                    |  2 +
 .../caps_4.0.0.x86_64.replies                 | 11 ++++
 .../caps_4.0.0.x86_64.xml                     |  2 +
 13 files changed, 164 insertions(+)

-- 
2.21.0

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

Reply via email to