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