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 | kernel_samsung_espresso10-b530cc794024be227876a089e66fb17b7b512763.zip kernel_samsung_espresso10-b530cc794024be227876a089e66fb17b7b512763.tar.gz kernel_samsung_espresso10-b530cc794024be227876a089e66fb17b7b512763.tar.bz2 |
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 0000000..8eff0b5 --- /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 */ |