[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]