From 705ab146fcbfad1644e9b6b5a8e211edbb29dfcd Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Wed, 7 Dec 2022 10:47:20 +0100 Subject: [PATCH] qemu_monitor: Debug print all arguments in qemuMonitorScreendump() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Martin Kletzander Reviewed-by: Ján Tomko --- src/qemu/qemu_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c index 80f262cec7..d10448ec7c 100644 --- a/src/qemu/qemu_monitor.c +++ b/src/qemu/qemu_monitor.c @@ -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);