mirror of
https://github.com/qemu/qemu.git
synced 2025-08-15 05:06:56 +00:00
virtio-9p: Print the pdu details on return
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
This commit is contained in:
parent
353ac78d49
commit
3979251518
@ -596,6 +596,9 @@ static V9fsPDU *alloc_pdu(V9fsState *s)
|
|||||||
static void free_pdu(V9fsState *s, V9fsPDU *pdu)
|
static void free_pdu(V9fsState *s, V9fsPDU *pdu)
|
||||||
{
|
{
|
||||||
if (pdu) {
|
if (pdu) {
|
||||||
|
if (debug_9p_pdu) {
|
||||||
|
pprint_pdu(pdu);
|
||||||
|
}
|
||||||
QLIST_INSERT_HEAD(&s->free_list, pdu, next);
|
QLIST_INSERT_HEAD(&s->free_list, pdu, next);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user