]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: monitor: Standardize log format in QEMU_CHECK_MONITOR_FULL macro
authorPeter Krempa <pkrempa@redhat.com>
Tue, 23 Jun 2026 11:35:42 +0000 (13:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 20 Jul 2026 11:11:16 +0000 (13:11 +0200)
Use '=' to delimit identifier and value. Since we're logging VM object
log also the name of the VM.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_monitor.c

index baa78dd6fed8efb40920115b94d60caa6493f9ec..d0acd31c0523db6e52322f18e2c2c8f8ea10d873 100644 (file)
@@ -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 */