[pve-devel] [PATCH qemu-server 1/1] log when issues a guest-fsfreeze command
Maximiliano Sandoval
m.sandoval at proxmox.com
Fri Aug 29 13:43:34 CEST 2025
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
src/PVE/QemuConfig.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/QemuConfig.pm b/src/PVE/QemuConfig.pm
index e0853d65..4ff6f347 100644
--- a/src/PVE/QemuConfig.pm
+++ b/src/PVE/QemuConfig.pm
@@ -307,9 +307,11 @@ sub __snapshot_freeze {
my ($class, $vmid, $unfreeze) = @_;
if ($unfreeze) {
+ print "issuing guest-agent 'fs-thaw' command\n";
eval { mon_cmd($vmid, "guest-fsfreeze-thaw"); };
warn "guest-fsfreeze-thaw problems - $@" if $@;
} else {
+ print "issuing guest-agent 'fs-freeze' command\n";
eval { mon_cmd($vmid, "guest-fsfreeze-freeze"); };
warn "guest-fsfreeze-freeze problems - $@" if $@;
}
--
2.47.2
More information about the pve-devel
mailing list