mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 17:24:53 +00:00
rpc: Add some debug messages to virNetClient
This commit is contained in:
parent
78965a33e8
commit
2afc5a7bbf
@ -1040,6 +1040,7 @@ static bool virNetClientIOEventLoopRemoveDone(virNetClientCallPtr call,
|
|||||||
VIR_DEBUG("Waking up sleep %p", call);
|
VIR_DEBUG("Waking up sleep %p", call);
|
||||||
virCondSignal(&call->cond);
|
virCondSignal(&call->cond);
|
||||||
} else {
|
} else {
|
||||||
|
VIR_DEBUG("Removing completed call %p", call);
|
||||||
if (call->expectReply)
|
if (call->expectReply)
|
||||||
VIR_WARN("Got a call expecting a reply but without a waiting thread");
|
VIR_WARN("Got a call expecting a reply but without a waiting thread");
|
||||||
ignore_value(virCondDestroy(&call->cond));
|
ignore_value(virCondDestroy(&call->cond));
|
||||||
@ -1070,6 +1071,8 @@ static bool virNetClientIOEventLoopRemoveNonBlocking(virNetClientCallPtr call,
|
|||||||
if (call->haveThread) {
|
if (call->haveThread) {
|
||||||
VIR_DEBUG("Waking up sleep %p", call);
|
VIR_DEBUG("Waking up sleep %p", call);
|
||||||
virCondSignal(&call->cond);
|
virCondSignal(&call->cond);
|
||||||
|
} else {
|
||||||
|
VIR_DEBUG("Keeping unfinished call %p in the list", call);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
@ -1081,6 +1084,7 @@ static bool virNetClientIOEventLoopRemoveNonBlocking(virNetClientCallPtr call,
|
|||||||
VIR_DEBUG("Waking up sleep %p", call);
|
VIR_DEBUG("Waking up sleep %p", call);
|
||||||
virCondSignal(&call->cond);
|
virCondSignal(&call->cond);
|
||||||
} else {
|
} else {
|
||||||
|
VIR_DEBUG("Removing call %p", call);
|
||||||
if (call->expectReply)
|
if (call->expectReply)
|
||||||
VIR_WARN("Got a call expecting a reply but without a waiting thread");
|
VIR_WARN("Got a call expecting a reply but without a waiting thread");
|
||||||
ignore_value(virCondDestroy(&call->cond));
|
ignore_value(virCondDestroy(&call->cond));
|
||||||
|
Loading…
Reference in New Issue
Block a user