mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
Use a port from the migration range for NBD as well
Instead of using a port from the remote display range. https://bugzilla.redhat.com/show_bug.cgi?id=1025699
This commit is contained in:
parent
87176d0ce9
commit
3e1e16aa8d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user