From: Peter Krempa Date: Tue, 23 Jun 2026 11:35:42 +0000 (+0200) Subject: qemu: monitor: Standardize log format in QEMU_CHECK_MONITOR_FULL macro X-Git-Tag: v12.6.0-rc1~31 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=13dddb5346352e4dcca2d690397c08adb4aedd18;p=thirdparty%2Flibvirt.git qemu: monitor: Standardize log format in QEMU_CHECK_MONITOR_FULL macro Use '=' to delimit identifier and value. Since we're logging VM object log also the name of the VM. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c index baa78dd6fe..d0acd31c05 100644 --- a/src/qemu/qemu_monitor.c +++ b/src/qemu/qemu_monitor.c @@ -79,7 +79,7 @@ VIR_LOG_INIT("qemu.qemu_monitor"); _("monitor must not be NULL")); \ exit; \ } \ - VIR_DEBUG("mon:%p vm:%p monfd:%d", mon, mon->vm, mon->fd); \ + VIR_DEBUG("mon=%p vm=%p(%s) monfd=%d", mon, mon->vm, mon->vm->def->name, mon->fd); \ } while (0) /* Check monitor and return NULL on error */