[libvirt] [PATCH 1/2] qemu: migration:Release nbd port from migrationPorts instead of remotePorts

Ján Tomko jtomko at redhat.com
Fri Oct 31 10:09:36 UTC 2014


On 10/31/2014 10:15 AM, Wang Rui wrote:
> On 2014/10/31 16:16, weiwei li wrote:
>> commit 3e1e16aa8d4238241a1806cb9bdb3b9ad60db777(Use a port from the
>> migration range for NBD as well) change ndb port allocation from
>> remotePorts to migrationPorts, but does not change the port releasing
>> process, which makes an error when migration seveal times(above 64).
> 
> There are 63(maybe 64) migration ports available. One nbd allocates one
> port. So do we have at most 63 virtual disks in migration?
> If so, I think it's not enough.
> what about changing migrationPorts to remotePorts instead?

We only allocate one NBD port per domain, so two ports should be enough for
migrating 63 disks (one for NBD, one for the rest).

And the migration port range can be configured in qemu.conf.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141031/d29d9585/attachment-0001.sig>


More information about the libvir-list mailing list