mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-04 11:07:09 +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+)/;
|
die "skip\n" if !$hotplug || $opt =~ m/(ide|sata)(\d+)/;
|
||||||
# hotplug new disks
|
# hotplug new disks
|
||||||
|
PVE::Storage::activate_volumes($storecfg, [$drive->{file}]);
|
||||||
vm_deviceplug($storecfg, $conf, $vmid, $opt, $drive);
|
vm_deviceplug($storecfg, $conf, $vmid, $opt, $drive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
qemu-server (4.0-39) unstable; urgency=medium
|
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
|
* fix bug #783: set KillMode=none, so that systemd don't kill
|
||||||
them at shutdown
|
them at shutdown
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user