[libvirt] [PATCH] qemu: Use proper agent entering function when freezing filesystems

Eric Blake eblake at redhat.com
Mon Oct 1 21:41:13 UTC 2012


On 10/01/2012 10:04 AM, Peter Krempa wrote:
> When doing snapshots, the filesystem freeze function used the agent
> entering function that expects the qemud_driver unlocked. This might
> cause a deadlock of the qemu driver if the agent does not respond.
> 
> The only call path of this function has the qemud_driver locked, so this
> patch changes the entering functions to those expecting the driver
> locked.
> ---
>  src/qemu/qemu_driver.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list