Re: [libvirt] [PATCH] Fix a deadlock in bi-directional p2p concurrent migration.

2010-07-20 Thread Chris Lalancette
On 07/20/10 - 11:53:43AM, Daniel P. Berrange wrote: > On Fri, Jul 16, 2010 at 09:38:10AM -0400, Chris Lalancette wrote: > > If you try to execute two concurrent migrations p2p > > from A->B and B->A, the two libvirtd's will deadlock > > trying to perform the migrations. The reason for this is > >

Re: [libvirt] [PATCH] Fix a deadlock in bi-directional p2p concurrent migration.

2010-07-20 Thread Daniel P. Berrange
On Fri, Jul 16, 2010 at 09:38:10AM -0400, Chris Lalancette wrote: > If you try to execute two concurrent migrations p2p > from A->B and B->A, the two libvirtd's will deadlock > trying to perform the migrations. The reason for this is > that in p2p migration, the libvirtd's are responsible for > ma

Re: [libvirt] [PATCH] Fix a deadlock in bi-directional p2p concurrent migration.

2010-07-19 Thread Chris Lalancette
On 07/16/10 - 09:38:10AM, Chris Lalancette wrote: > If you try to execute two concurrent migrations p2p > from A->B and B->A, the two libvirtd's will deadlock > trying to perform the migrations. The reason for this is > that in p2p migration, the libvirtd's are responsible for > making the RPC Pre

[libvirt] [PATCH] Fix a deadlock in bi-directional p2p concurrent migration.

2010-07-16 Thread Chris Lalancette
If you try to execute two concurrent migrations p2p from A->B and B->A, the two libvirtd's will deadlock trying to perform the migrations. The reason for this is that in p2p migration, the libvirtd's are responsible for making the RPC Prepare, Migrate, and Finish calls. However, they are currentl