Add debug output when registering event handlers

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2013-12-11 15:27:13 +00:00
parent dbcc38da15
commit ef19b3e3f5

View File

@ -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;