summaryrefslogtreecommitdiffstats
path: root/hw/virtio-9p-debug.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-04-29 17:44:45 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2010-05-03 12:17:37 -0500
commit405a549a160ce632826661902aebee71c2e196bb (patch)
tree546422a5ee2a777679f02a828b462c2b6ef6cf7b /hw/virtio-9p-debug.h
parent9f10751365b26b13b8a9b67e0e90536ae3d282df (diff)
downloadhqemu-405a549a160ce632826661902aebee71c2e196bb.zip
hqemu-405a549a160ce632826661902aebee71c2e196bb.tar.gz
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>
Diffstat (limited to 'hw/virtio-9p-debug.h')
-rw-r--r--hw/virtio-9p-debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/virtio-9p-debug.h b/hw/virtio-9p-debug.h
new file mode 100644
index 0000000..0104be5
--- /dev/null
+++ b/hw/virtio-9p-debug.h
@@ -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
OpenPOWER on IntegriCloud