Signed-off-by: Alexandre Derumier <aderum...@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

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to