[libvirt] [PATCH] qemu: Fix a possible deadlock in p2p migration

Eric Blake eblake at redhat.com
Fri Jan 21 15:36:34 UTC 2011


On 01/21/2011 04:21 AM, Daniel P. Berrange wrote:
> On Fri, Jan 21, 2011 at 04:28:07PM +0800, Wen Congyang wrote:
>> The function virUnrefConnect() may call virReleaseConnect() to release
>> the dest connection, and the function virReleaseConnect() will call
>> conn->driver->close().
>>
>> So the function virUnrefConnect() should be surrounded by
>> qemuDomainObjEnterRemoteWithDriver() and
>> qemuDomainObjExitRemoteWithDriver() to prevent possible deadlock between
>> two communicating libvirt daemons.
>>
>> See commit f0c8e1cb3774d6f09e2681ca1988bf235a343007 for further details.
> 
> ACK

Pushed.

-- 
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/20110121/c938b0ef/attachment-0001.sig>


More information about the libvir-list mailing list