Re: [PATCH] Use a port from the migration range for NBD as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/31/2013 10:00 AM, Ján Tomko wrote:
> Instead of using a port from the remote display range.
> ---
>  src/qemu/qemu_migration.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK; okay for 1.1.4.  Is there a BZ you can mention?

> 
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index cb59620..4f35a7a 100644
> --- a/src/qemu/qemu_migration.c
> +++ b/src/qemu/qemu_migration.c
> @@ -1115,7 +1115,7 @@ qemuMigrationStartNBDServer(virQEMUDriverPtr driver,
>              goto cleanup;
>  
>          if (!port &&
> -            ((virPortAllocatorAcquire(driver->remotePorts, &port) < 0) ||
> +            ((virPortAllocatorAcquire(driver->migrationPorts, &port) < 0) ||
>               (qemuMonitorNBDServerStart(priv->mon, listenAddr, port) < 0))) {
>              qemuDomainObjExitMonitor(driver, vm);
>              goto cleanup;
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]