On 08/23/2012 07:31 AM, Michal Privoznik wrote:
If a domain is pmsuspended then virsh suspend will succeed. Beside
obvious flaw, virsh resume will report success and change domain
state to running which is another mistake. Therefore we must forbid
any attempts for suspend and resume when pmsuspended.
---
src/libvirt.c | 4 ++++
src/qemu/qemu_driver.c | 18 ++++++++++++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
ACK.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org