]> git.proxmox.com Git - qemu-server.git/commitdiff
allow virtio-scsi + iothread controller hot-unplug
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 21 Feb 2018 10:28:05 +0000 (11:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Feb 2018 09:50:37 +0000 (10:50 +0100)
PVE/QemuServer.pm

index 53da4543da74564d0133cb60ea0143da28829b86..fb365849925849143247974fa8e8e2c2d4bc25ed 100644 (file)
@@ -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);