Re: [libvirt] [PATCH] qemu: Check for domain being active on successful job acquire

2011-10-13 Thread Michal Privoznik
On 12.10.2011 23:35, Eric Blake wrote: On 10/12/2011 05:59 AM, Michal Privoznik wrote: As this is needed. Although some functions check for domain being active before obtaining job, we need to check it after, because obtaining job unlocks domain object, during which a state of domain can be

[libvirt] [PATCH] qemu: Check for domain being active on successful job acquire

2011-10-12 Thread Michal Privoznik
As this is needed. Although some functions check for domain being active before obtaining job, we need to check it after, because obtaining job unlocks domain object, during which a state of domain can be changed. --- src/qemu/qemu_driver.c | 75

Re: [libvirt] [PATCH] qemu: Check for domain being active on successful job acquire

2011-10-12 Thread Eric Blake
On 10/12/2011 05:59 AM, Michal Privoznik wrote: As this is needed. Although some functions check for domain being active before obtaining job, we need to check it after, because obtaining job unlocks domain object, during which a state of domain can be changed. --- src/qemu/qemu_driver.c |