[pve-devel] [PATCH qemu-server 3/4] savevm: show information about drives during snapshot

Stefan Reiter s.reiter at proxmox.com
Thu Feb 4 13:52:23 CET 2021


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

I personally like this as well since it shows the order of operations, but might
be too verbose...

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

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





More information about the pve-devel mailing list