mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06: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
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue