]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu_monitor: Debug print all arguments in qemuMonitorScreendump()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Dec 2022 09:47:20 +0000 (10:47 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Dec 2022 12:14:18 +0000 (13:14 +0100)
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@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor.c

index 80f262cec7703ac4abed7a005e968758b385c8bb..d10448ec7c3149ff3a1c10ce13cdc3e5d0825331 100644 (file)
@@ -2855,7 +2855,7 @@ 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);