[pve-devel] [PATCH 09/19] phase2 : fix vmid for unix socket

Alexandre Derumier aderumier at odiso.com
Wed Feb 22 14:33:33 CET 2017


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuMigrate.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index f1d621a..ab396b3 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
@@ -562,7 +562,7 @@ sub phase2 {
 	}
 	elsif ($line =~ m!^migration listens on unix:(/run/qemu-server/(\d+)\.migrate)$!) {
 	    $raddr = $1;
-	    die "Destination UNIX sockets VMID does not match source VMID" if $vmid ne $2;
+	    die "Destination UNIX sockets VMID does not match source VMID" if $targetvmid ne $2;
 	    $ruri = "unix:$raddr";
 	}
 	elsif ($line =~ m/^migration listens on port (\d+)$/) {
-- 
2.1.4




More information about the pve-devel mailing list