From d44712fc43bbcd33c748b67c8757bafb9e1b6da9 Mon Sep 17 00:00:00 2001 From: Emmanuel Kasper Date: Mon, 9 Nov 2015 11:32:02 +0100 Subject: [PATCH] Don't treat serial devices as a local resource if they point to a socket. Close: https://bugzilla.proxmox.com/show_bug.cgi?id=470 --- PVE/QemuServer.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 29dcd6ab..81a1c841 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -558,7 +558,7 @@ my $serialdesc = { description => <{$k} eq 'spice'); + # sockets are safe: they will recreated be on the target side post-migrate + next if $k =~ m/^serial/ && ($conf->{$k} eq 'socket'); $loc_res = 1 if $k =~ m/^(usb|hostpci|serial|parallel)\d+$/; }