]> git.proxmox.com Git - qemu-server.git/commitdiff
allow to migrate VMs using SPICE usb redirection
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 26 Nov 2013 06:37:18 +0000 (07:37 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 26 Nov 2013 06:37:18 +0000 (07:37 +0100)
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+$/;
     }