[PATCH 2/5] qemu_monitor: Debug print all arguments in qemuMonitorScreendump()

Michal Privoznik mprivozn at redhat.com
Wed Dec 7 11:20:50 UTC 2022


For some reason, only @file argument is printed into debug logs.
The rest of arguments was left out. Include all arguments.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/qemu/qemu_monitor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index 80f262cec7..e697ef2518 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -2855,7 +2855,8 @@ qemuMonitorScreendump(qemuMonitor *mon,
                       unsigned int head,
                       const char *file)
 {
-    VIR_DEBUG("file=%s", file);
+    VIR_DEBUG("device=%s head=%u file=%s",
+              device, head, file);
 
     QEMU_CHECK_MONITOR(mon);
 
-- 
2.37.4



More information about the libvir-list mailing list