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

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Feb 22 11:24:13 CET 2018


applied, as the fix was backported to v2.9.1
(virtio-scsi: Unset hotplug handler when unrealize)

On 2/21/18 11:28 AM, Alexandre Derumier wrote:
> ---
>  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);
> 





More information about the pve-devel mailing list