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

2014-08-29 Thread Dietmar Maurer
applied, thanks!


___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


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

2014-08-27 Thread Alexandre Derumier
It was an old protection, it's working fine now

Signed-off-by: Alexandre Derumier aderum...@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

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel