]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/QemuServer.pm
allow to migrate VMs using SPICE usb redirection
[qemu-server.git] / PVE / QemuServer.pm
index d9896c18dbafd9effbc49a9466c55e0d12c826a7..50b774db643502eaf2959e4b12067a8ccc159899 100644 (file)
@@ -1835,6 +1835,7 @@ sub check_local_resources {
     $loc_res = 1 if $conf->{hostpci}; # old syntax
 
     foreach my $k (keys %$conf) {
+       next if $k =~ m/^usb/ && ($conf->{$k} eq 'spice');
        $loc_res = 1 if $k =~ m/^(usb|hostpci|serial|parallel)\d+$/;
     }