From 6c33c345ef4eb6cd69e1b114aa3ffd85fb7d7a23 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Wed, 27 Aug 2014 15:48:30 +0200 Subject: [PATCH] allow hotplug of virtio-scsi disks It was an old protection, it's working fine now Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 49356f25..327ea35b 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -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);