allow to migrate VMs using SPICE usb redirection

This commit is contained in:
Dietmar Maurer 2013-11-26 07:37:18 +01:00
parent 7aa608d655
commit 49ca581d5d

View 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+$/;
}