allow hotplug of virtio-scsi disks

It was an old protection, it's working fine now

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2014-08-27 15:48:30 +02:00 committed by Dietmar Maurer
parent d3f15aa9ed
commit 6c33c345ef

View File

@ -2921,7 +2921,6 @@ sub vm_deviceplug {
}
if ($deviceid =~ m/^(scsi)(\d+)$/) {
return 1 if ($conf->{scsihw} && ($conf->{scsihw} !~ m/^lsi/)); #virtio-scsi not yet support hotplug
return undef if !qemu_findorcreatescsihw($storecfg,$conf, $vmid, $device);
return undef if !qemu_driveadd($storecfg, $vmid, $device);
my $devicefull = print_drivedevice_full($storecfg, $conf, $vmid, $device);