summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2007-10-23 13:47:31 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2007-10-23 13:47:31 -0500
commitb530cc794024be227876a089e66fb17b7b512763 (patch)
tree70b2c555ea9cfe0337a7e25b8cf57c0236efe242 /include
parent0b776eb5426752d4e53354ac89e3710d857e09a7 (diff)
downloadblackbird-op-linux-b530cc794024be227876a089e66fb17b7b512763.tar.gz
blackbird-op-linux-b530cc794024be227876a089e66fb17b7b512763.zip
9p: add virtio transport
This adds a transport to 9p for communicating between guests and a host using a virtio based transport. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/virtio_9p.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/virtio_9p.h b/include/linux/virtio_9p.h
new file mode 100644
index 000000000000..8eff0b53910b
--- /dev/null
+++ b/include/linux/virtio_9p.h
@@ -0,0 +1,10 @@
+#ifndef _LINUX_VIRTIO_9P_H
+#define _LINUX_VIRTIO_9P_H
+#include <linux/virtio_config.h>
+
+/* The ID for virtio console */
+#define VIRTIO_ID_9P 9
+/* Maximum number of virtio channels per partition (1 for now) */
+#define MAX_9P_CHAN 1
+
+#endif /* _LINUX_VIRTIO_9P_H */
OpenPOWER on IntegriCloud