[libvirt] [PATCH v2.1 07/11] qemu_migration: Move port allocation to a separate func

Jiri Denemark jdenemar at redhat.com
Thu Jan 17 23:14:25 UTC 2013


On Fri, Jan 11, 2013 at 17:52:19 +0100, Michal Privoznik wrote:
> There's a code snippet which allocates a port for incoming
> migration. We will need this for allocating a port for
> incoming disks as well. Hence, move this snippet into
> a separate function called qemuMigrationNextPort().

Should we use virPortAllocator instead? Anyway, this patch should be
moved before 6/11 Introduce qemuMigrationStartNBDServer.

Jirka




More information about the libvir-list mailing list