]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix up qemu domain save/managed save locking.
authorChris Lalancette <clalance@redhat.com>
Fri, 13 Aug 2010 13:23:11 +0000 (09:23 -0400)
committerChris Lalancette <clalance@redhat.com>
Tue, 17 Aug 2010 20:18:49 +0000 (16:18 -0400)
commit4303c91cc387cc56693fd1747f8ff6295bdbc97c
tree478dba7da31afeb8311f0e3b5ca0e0df1b86b2fa
parent2ad42978eaef2486d0ca547faef5cdc1ee9c6a71
Fix up qemu domain save/managed save locking.

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@redhat.com>
src/qemu/qemu_driver.c