mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 18:59:41 +00:00
fix bug #828: activate disks before hotplugging them
This commit is contained in:
parent
0e3f6af524
commit
1b2761c07c
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user