The macro checking monitor object state also logs information such as
the monitor object pointer and the number of the monitor FD.
Name the field 'monfd' instead of 'fd' as it's confusing when debugging
FD pasing via monitor.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
_("monitor must not be NULL")); \
exit; \
} \
- VIR_DEBUG("mon:%p vm:%p fd:%d", mon, mon->vm, mon->fd); \
+ VIR_DEBUG("mon:%p vm:%p monfd:%d", mon, mon->vm, mon->fd); \
} while (0)
/* Check monitor and return NULL on error */