fix bug #828: activate disks before hotplugging them

This commit is contained in:
Wolfgang Bumiller 2015-11-27 12:46:40 +01:00 committed by Dietmar Maurer
parent 0e3f6af524
commit 1b2761c07c
2 changed files with 3 additions and 0 deletions

View File

@ -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);
}

View File

@ -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