[pve-devel] [PATCH v2 qemu-server 5/6] savevm: show information about drives during snapshot

Stefan Reiter s.reiter at proxmox.com
Mon Feb 8 12:15:11 CET 2021


Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---

v2:
* use $device

 PVE/QemuConfig.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm
index 0c4b8fd..31b3e36 100644
--- a/PVE/QemuConfig.pm
+++ b/PVE/QemuConfig.pm
@@ -339,6 +339,8 @@ sub __snapshot_create_vol_snapshot {
     my $device = "drive-$ds";
     my $storecfg = PVE::Storage::config();
 
+    print "snapshotting '$device' ($drive->{file})\n";
+
     PVE::QemuServer::qemu_volume_snapshot($vmid, $device, $storecfg, $volid, $snapname);
 }
 
-- 
2.20.1






More information about the pve-devel mailing list