summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKonstantin Kostiuk <kkostiuk@redhat.com>2024-12-16 17:45:52 +0200
committerKonstantin Kostiuk <kkostiuk@redhat.com>2025-02-26 13:33:39 +0200
commitad1e6843632555c771dda6a9425930fa25b71fb3 (patch)
tree7bbab62db537d15e25e93ff1717d12312b205758
parentb69801dd6b1eb4d107f7c2f643adf0a4e3ec9124 (diff)
downloadfocaccia-qemu-ad1e6843632555c771dda6a9425930fa25b71fb3.tar.gz
focaccia-qemu-ad1e6843632555c771dda6a9425930fa25b71fb3.zip
qga: Add log to guest-fsfreeze-thaw command
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241216154552.213961-2-kkostiuk@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to '')
-rw-r--r--qga/commands-posix.c2
-rw-r--r--qga/commands-win32.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index 6e3c15f539..12bc086d79 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -805,8 +805,10 @@ int64_t qmp_guest_fsfreeze_thaw(Error **errp)
     int ret;
 
     ret = qmp_guest_fsfreeze_do_thaw(errp);
+
     if (ret >= 0) {
         ga_unset_frozen(ga_state);
+        slog("guest-fsthaw called");
         execute_fsfreeze_hook(FSFREEZE_HOOK_THAW, errp);
     } else {
         ret = 0;
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 99c026c0a0..749fdf8895 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -1273,6 +1273,9 @@ int64_t qmp_guest_fsfreeze_thaw(Error **errp)
     qga_vss_fsfreeze(&i, false, NULL, errp);
 
     ga_unset_frozen(ga_state);
+
+    slog("guest-fsthaw called");
+
     return i;
 }