[pve-devel] [PATCH qemu-server v3 4/7] log when issuing a guest-fsfreeze command
Maximiliano Sandoval
m.sandoval at proxmox.com
Tue Oct 14 14:27:11 CEST 2025
These messages appear during replication or snapshots.
The messages will now appear on all call sites of __snapshot_freeze().
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 412c76ae..32a95dd6 100644
--- a/src/PVE/QemuConfig.pm
+++ b/src/PVE/QemuConfig.pm
@@ -310,9 +310,11 @@ sub __snapshot_freeze {
my ($class, $vmid, $unfreeze) = @_;
if ($unfreeze) {
+ print "issuing guest agent 'guest-fsfreeze-thaw' command\n";
eval { mon_cmd($vmid, "guest-fsfreeze-thaw"); };
warn "guest-fsfreeze-thaw problems - $@" if $@;
} else {
+ print "issuing guest agent 'guest-fsfreeze-freeze' command\n";
eval { PVE::QemuServer::Agent::guest_fsfreeze($vmid); };
warn $@ if $@;
}
--
2.47.3
More information about the pve-devel
mailing list