mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Add debug output when registering event handlers
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
dbcc38da15
commit
ef19b3e3f5
@ -255,6 +255,11 @@ virObjectEventCallbackListAddID(virConnectPtr conn,
|
||||
size_t i;
|
||||
int ret = 0;
|
||||
|
||||
VIR_DEBUG("conn=%p cblist=%p uuid=%p name=%s id=%d "
|
||||
"klass=%p eventID=%d callback=%p opaque=%p",
|
||||
conn, cbList, uuid, name, id, klass, eventID,
|
||||
callback, opaque);
|
||||
|
||||
/* Check incoming */
|
||||
if (!cbList) {
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user