mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-19 01:24:42 -05:00
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 <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user