[pve-devel] [PATCH qemu-server 1/1] allow virtio-scsi + iothread controller hot-unplug

Alexandre Derumier aderumier at odiso.com
Wed Feb 21 11:28:05 CET 2018


---
 PVE/QemuServer.pm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 53da454..fb36584 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3644,10 +3644,6 @@ sub vm_deviceunplug {
 
     } elsif ($deviceid =~ m/^(scsi)(\d+)$/) {
 
-	#qemu 2.3 segfault on drive_del with virtioscsi + iothread
-	my $device = parse_drive($deviceid, $conf->{$deviceid});
-	die "virtioscsi with iothread is not hot-unplugglable currently" if $device->{iothread};
-
         qemu_devicedel($vmid, $deviceid);
         qemu_drivedel($vmid, $deviceid);
 	qemu_deletescsihw($conf, $vmid, $deviceid);
-- 
2.11.0




More information about the pve-devel mailing list