[libvirt] [PATCH 1/3] Fix up qemu domain save/managed save locking.

Eric Blake eblake at redhat.com
Mon Aug 16 16:17:09 UTC 2010


On 08/13/2010 08:53 AM, Chris Lalancette wrote:
> The current version of the qemu managed save implementation
> is subject to a race where the domain shuts down between
> the time that we start the command and the time that we
> actually try to do the save.  Close this race by making
> qemuDomainSaveFlags() expect both the driver and the passed-in
> vm object to be locked before executing.
> 
> Signed-off-by: Chris Lalancette <clalance at redhat.com>
> ---
>  src/qemu/qemu_driver.c |   79 ++++++++++++++++++-----------------------------
>  1 files changed, 30 insertions(+), 49 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100816/0ae4ebcc/attachment-0001.sig>


More information about the libvir-list mailing list