[pve-devel] [PATCH] allow hotplug of virtio-scsi disks

Alexandre Derumier aderumier at odiso.com
Wed Aug 27 15:48:30 CEST 2014


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

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm |    1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 49356f2..327ea35 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);
-- 
1.7.10.4




More information about the pve-devel mailing list