Signed-off-by: Maximiliano Sandoval <[email protected]>
---
src/PVE/QemuServer/Agent.pm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/PVE/QemuServer/Agent.pm b/src/PVE/QemuServer/Agent.pm
index 6ce76a14..c912b12c 100644
--- a/src/PVE/QemuServer/Agent.pm
+++ b/src/PVE/QemuServer/Agent.pm
@@ -264,4 +264,20 @@ sub guest_fsfreeze {
die "unable to freeze guest fs - unexpected status '$status'\n" if $status
ne 'frozen';
}
+=head3 guest_fsthaw
+
+ guest_fsthaw($vmid);
+
+Thaws the file systems of the guest C<$vmid>. Dies if the file systems cannot
be thawed.
+
+See C<$guest_fsfreeze> for more details.
+
+=cut
+
+sub guest_fsthaw {
+ my ($vmid) = @_;
+
+ PVE::QemuServer::Monitor::mon_cmd($vmid, "guest-fsfreeze-thaw");
+}
+
1;
--
2.47.3
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel