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

2010-07-15 Thread Daniel P. Berrange
On Thu, Jul 15, 2010 at 10:44:46AM -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] [RFC][PATCH] Fix a deadlock in bi-directional p2p concurrent migration.

2010-07-15 Thread Daniel Veillard
On Thu, Jul 15, 2010 at 10:44:46AM -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

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

2010-07-15 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