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

Re: [libvirt] [PATCH] qemu: forbid suspend if already pmsuspended



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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