[libvirt] [PATCH] qemu: forbid suspend if already pmsuspended
Michal Privoznik
mprivozn at redhat.com
Thu Aug 23 16:00:49 UTC 2012
On 23.08.2012 17:47, Eric Blake wrote:
> 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.
>
Thanks, pushed.
More information about the libvir-list
mailing list