]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
add additional event debug points
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Mar 2011 23:53:32 +0000 (16:53 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 1 Mar 2011 23:54:20 +0000 (16:54 -0700)
Followup to commit 2222bd24

src/remote/remote_driver.c

index 0be9c56c153947af26e937f4e395179969d524b9..4ca52ba813c096344b78ac07fd1d0a4cb5c77b43 100644 (file)
@@ -9977,7 +9977,6 @@ processCallDispatchMessage(virConnectPtr conn, struct private_data *priv,
     /* An async message has come in while we were waiting for the
      * response. Process it to pull it off the wire, and try again
      */
-    VIR_DEBUG0("Encountered an event while waiting for a response");
 
     if (in_open) {
         VIR_DEBUG("Ignoring bogus event %d received while in open", hdr->proc);
@@ -10017,6 +10016,7 @@ processCallDispatchMessage(virConnectPtr conn, struct private_data *priv,
         VIR_DEBUG("Unexpected event proc %d", hdr->proc);
         break;
     }
+    VIR_DEBUG("Event ready for queue %p %p", event, conn);
 
     if (!event)
         return -1;
@@ -10674,6 +10674,7 @@ static void remoteDomainEventDispatchFunc(virConnectPtr conn,
 
     /* Drop the lock whle dispatching, for sake of re-entrancy */
     remoteDriverUnlock(priv);
+    VIR_DEBUG("Dispatch event %p %p", event, conn);
     virDomainEventDispatchDefaultFunc(conn, event, cb, cbopaque, NULL);
     remoteDriverLock(priv);
 }
@@ -10687,6 +10688,7 @@ remoteDomainEventQueueFlush(int timer ATTRIBUTE_UNUSED, void *opaque)
 
     remoteDriverLock(priv);
 
+    VIR_DEBUG("Event queue flush %p", conn);
     priv->domainEventDispatching = 1;
 
     /* Copy the queue, so we're reentrant safe */