Re: [libvirt] [PATCH 3/3] qemuDomainPMSuspendForDuration: check for QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT

2019-04-02 Thread Peter Krempa
On Mon, Apr 01, 2019 at 18:18:26 -0300, Daniel Henrique Barboza wrote: > If the current QEMU guest can't wake up from suspend properly, > avoid suspending the guest at all. This is done by checking the > QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT cap. > > The absence of the cap indicates that we're dealing

[libvirt] [PATCH 3/3] qemuDomainPMSuspendForDuration: check for QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT

2019-04-01 Thread Daniel Henrique Barboza
If the current QEMU guest can't wake up from suspend properly, avoid suspending the guest at all. This is done by checking the QEMU_CAPS_WAKEUP_SUSPEND_SUPPORT cap. The absence of the cap indicates that we're dealing with a QEMU version older than 4.0 (which implements the required QMP API). In th