[PATCH qemu-server 3/3] clone disk: log target volume ID after allocating

Fiona Ebner
2026-04-01T09:51:54Z

While some storage plugins already log the name of an allocated
volume, many do not, so make sure to print this core information.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
src/PVE/QemuServer.pm | 2 ++
1 file changed, 2 insertions(+)

diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index 856dc737..2a469fff 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -7937,6 +7937,8 @@ sub clone_disk {
);
push @$newvollist, $newvolid;

+ print("allocated target volume '$newvolid'\n");
+
PVE::Storage::activate_volumes($storecfg, [$newvolid]);

if (drive_is_cloudinit($drive)) {
--
2.47.3