virtio-9p: pdu processing support.

Add helpers to process the PDUs.

[kiran@linux.vnet.ibm.com: malloc to qemu_malloc coversion]

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2010-04-29 17:44:45 +05:30
parent 9f10751365
commit 405a549a16
2 changed files with 250 additions and 0 deletions

7
hw/virtio-9p-debug.h Normal file
View file

@ -0,0 +1,7 @@
#ifndef _QEMU_VIRTIO_9P_DEBUG_H
#define _QEMU_VIRTIO_9P_DEBUG_H
extern int dotu;
void pprint_pdu(V9fsPDU *pdu);
#endif