diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2007-10-23 13:47:31 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2007-10-23 13:47:31 -0500 |
commit | b530cc794024be227876a089e66fb17b7b512763 (patch) | |
tree | 70b2c555ea9cfe0337a7e25b8cf57c0236efe242 /include/linux/virtio_9p.h | |
parent | 0b776eb5426752d4e53354ac89e3710d857e09a7 (diff) | |
download | linux-b530cc794024be227876a089e66fb17b7b512763.tar.gz linux-b530cc794024be227876a089e66fb17b7b512763.tar.bz2 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/linux/virtio_9p.h')
-rw-r--r-- | include/linux/virtio_9p.h | 10 |
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 */ |