From 1b2761c07c5fb84dc8458ae110d2bd9396233272 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 27 Nov 2015 12:46:40 +0100 Subject: [PATCH] fix bug #828: activate disks before hotplugging them --- PVE/QemuServer.pm | 1 + changelog.Debian | 2 ++ 2 files changed, 3 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 0dba04e7..2361e83f 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4299,6 +4299,7 @@ sub vmconfig_update_disk { die "skip\n" if !$hotplug || $opt =~ m/(ide|sata)(\d+)/; # hotplug new disks + PVE::Storage::activate_volumes($storecfg, [$drive->{file}]); vm_deviceplug($storecfg, $conf, $vmid, $opt, $drive); } diff --git a/changelog.Debian b/changelog.Debian index 7830dfcc..f1c439d7 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,5 +1,7 @@ qemu-server (4.0-39) unstable; urgency=medium + * fix bug #828: activate disks before hotplugging them + * fix bug #783: set KillMode=none, so that systemd don't kill them at shutdown