Re: [libvirt] [PATCH] qemu: Avoid assigning unavailable migration ports

2013-10-18 Thread Jiri Denemark
On Thu, Oct 17, 2013 at 13:44:33 +0200, Jano Tomko wrote: > On 10/15/2013 02:42 PM, Jiri Denemark wrote: > > From: WangYufei > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1019053 > > > > When we migrate vms concurrently, there's a chance that libvirtd on > > destination assigns the same po

Re: [libvirt] [PATCH] qemu: Avoid assigning unavailable migration ports

2013-10-17 Thread Ján Tomko
On 10/15/2013 02:42 PM, Jiri Denemark wrote: > From: WangYufei > > https://bugzilla.redhat.com/show_bug.cgi?id=1019053 > > When we migrate vms concurrently, there's a chance that libvirtd on > destination assigns the same port for different migrations, which will > lead to migration failure duri

Re: [libvirt] [PATCH] qemu: Avoid assigning unavailable migration ports

2013-10-17 Thread Ján Tomko
On 10/15/2013 02:42 PM, Jiri Denemark wrote: > From: WangYufei > > https://bugzilla.redhat.com/show_bug.cgi?id=1019053 > > When we migrate vms concurrently, there's a chance that libvirtd on > destination assigns the same port for different migrations, which will > lead to migration failure duri

[libvirt] [PATCH] qemu: Avoid assigning unavailable migration ports

2013-10-15 Thread Jiri Denemark
From: WangYufei https://bugzilla.redhat.com/show_bug.cgi?id=1019053 When we migrate vms concurrently, there's a chance that libvirtd on destination assigns the same port for different migrations, which will lead to migration failure during prepare phase on destination. So we use virPortAllocator