This is used by replication and snapshots. Signed-off-by: Maximiliano Sandoval <m.sando...@proxmox.com> --- src/PVE/QemuConfig.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/PVE/QemuConfig.pm b/src/PVE/QemuConfig.pm index e0853d65..51593b60 100644 --- a/src/PVE/QemuConfig.pm +++ b/src/PVE/QemuConfig.pm @@ -291,12 +291,15 @@ sub __snapshot_check_freeze_needed { my ($class, $vmid, $config, $save_vmstate) = @_; my $running = $class->__snapshot_check_running($vmid); + my $vm_config = PVE::QemuConfig->load_config($vmid); + my $fsfreeze = PVE::QemuServer::get_qga_key($vm_config, 'guest-fsfreeze') // 1; if (!$save_vmstate) { return ( $running, $running && PVE::QemuServer::parse_guest_agent($config)->{enabled} - && PVE::QemuServer::Agent::qga_check_running($vmid), + && PVE::QemuServer::Agent::qga_check_running($vmid) + && $fsfreeze, ); } else { return ($running, 0); -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel