render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
43fe83
From 9cc48e8b7fbec4f098a65577c4ef2fd37f473d1c Mon Sep 17 00:00:00 2001
43fe83
Message-Id: <9cc48e8b7fbec4f098a65577c4ef2fd37f473d1c.1383922565.git.jdenemar@redhat.com>
43fe83
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
43fe83
Date: Thu, 7 Nov 2013 18:57:02 +0100
43fe83
Subject: [PATCH] Use a port from the migration range for NBD as well
43fe83
43fe83
Instead of using a port from the remote display range.
43fe83
43fe83
https://bugzilla.redhat.com/show_bug.cgi?id=1025699
43fe83
(cherry picked from commit 3e1e16aa8d4238241a1806cb9bdb3b9ad60db777)
43fe83
43fe83
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
43fe83
---
43fe83
 src/qemu/qemu_migration.c | 2 +-
43fe83
 1 file changed, 1 insertion(+), 1 deletion(-)
43fe83
43fe83
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
43fe83
index fb5568e..32ffde7 100644
43fe83
--- a/src/qemu/qemu_migration.c
43fe83
+++ b/src/qemu/qemu_migration.c
43fe83
@@ -1118,7 +1118,7 @@ qemuMigrationStartNBDServer(virQEMUDriverPtr driver,
43fe83
             goto cleanup;
43fe83
 
43fe83
         if (!port &&
43fe83
-            ((virPortAllocatorAcquire(driver->remotePorts, &port) < 0) ||
43fe83
+            ((virPortAllocatorAcquire(driver->migrationPorts, &port) < 0) ||
43fe83
              (qemuMonitorNBDServerStart(priv->mon, listenAddr, port) < 0))) {
43fe83
             qemuDomainObjExitMonitor(driver, vm);
43fe83
             goto cleanup;
43fe83
-- 
43fe83
1.8.4.2
43fe83