[pve-devel] [PATCH v2 qemu-server 3/4] savevm: show information about drives during snapshot
Stefan Reiter
s.reiter at proxmox.com
Thu Feb 4 14:51:13 CET 2021
Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
v2:
* use $device of course, really shouldn't do last-minute formatting without
testing
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 '$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