mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 14:35:25 +00:00
Add a little more debugging for async events
To make it easier to investigate problems with async event delivery, add two more debugging lines * daemon/remote.c: Debug when an event is queued for dispatch * src/remote/remote_driver.c: Debug when an event is received for processing
This commit is contained in:
parent
8ce5d404be
commit
2222bd2459
@ -5693,6 +5693,8 @@ remoteDispatchDomainEventSend (struct qemud_client *client,
|
||||
msg->async = 1;
|
||||
msg->bufferLength = len;
|
||||
msg->bufferOffset = 0;
|
||||
|
||||
VIR_DEBUG("Queue event %d %d", procnr, msg->bufferLength);
|
||||
qemudClientMessageQueuePush(&client->tx, msg);
|
||||
qemudUpdateClientEvent(client);
|
||||
|
||||
|
@ -9890,6 +9890,7 @@ processCallDispatch(virConnectPtr conn, struct private_data *priv,
|
||||
break;
|
||||
|
||||
case REMOTE_MESSAGE: /* Async notifications */
|
||||
VIR_DEBUG("Dispatch event %d %d", hdr.proc, priv->bufferLength);
|
||||
rv = processCallDispatchMessage(conn, priv, flags & REMOTE_CALL_IN_OPEN,
|
||||
&hdr, &xdr);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user