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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux