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

2011-01-21 Thread Wen Congyang
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

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

2011-01-21 Thread Daniel P. Berrange
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

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

2011-01-21 Thread Eric Blake
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

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

2010-12-06 Thread Jiri Denemark
Two more calls to remote libvirtd have to be surrounded by qemuDomainObjEnterRemoteWithDriver() and qemuDomainObjExitRemoteWithDriver() to prevent possible deadlock between two communicating libvirt daemons. See commit f0c8e1cb3774d6f09e2681ca1988bf235a343007 for further details.

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

2010-12-03 Thread Jiri Denemark
Two more calls to remote libvirtd have to be surrounded by qemuDomainObjEnterRemoteWithDriver() and qemuDomainObjExitRemoteWithDriver() to prevent possible deadlock between two communicating libvirt daemons. See commit f0c8e1cb3774d6f09e2681ca1988bf235a343007 for further details. ---

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

2010-12-03 Thread Eric Blake
On 12/03/2010 02:53 AM, Jiri Denemark wrote: Two more calls to remote libvirtd have to be surrounded by qemuDomainObjEnterRemoteWithDriver() and qemuDomainObjExitRemoteWithDriver() to prevent possible deadlock between two communicating libvirt daemons. See commit