File tree 5 files changed +379
-3
lines changed
Documentation/filesystems
5 files changed +379
-3
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,12 @@ OPTIONS
42
42
43
43
trans=name select an alternative transport. Valid options are
44
44
currently:
45
- unix - specifying a named pipe mount point
46
- tcp - specifying a normal TCP/IP connection
47
- fd - used passed file descriptors for connection
45
+ unix - specifying a named pipe mount point
46
+ tcp - specifying a normal TCP/IP connection
47
+ fd - used passed file descriptors for connection
48
48
(see rfdno and wfdno)
49
+ virtio - connect to the next virtio channel available
50
+ (from lguest or KVM with trans_virtio module)
49
51
50
52
uname=name user name to attempt mount as on the remote server. The
51
53
server may override or ignore this value. Certain user
Original file line number Diff line number Diff line change
1
+ #ifndef _LINUX_VIRTIO_9P_H
2
+ #define _LINUX_VIRTIO_9P_H
3
+ #include <linux/virtio_config.h>
4
+
5
+ /* The ID for virtio console */
6
+ #define VIRTIO_ID_9P 9
7
+ /* Maximum number of virtio channels per partition (1 for now) */
8
+ #define MAX_9P_CHAN 1
9
+
10
+ #endif /* _LINUX_VIRTIO_9P_H */
Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ config NET_9P_FD
23
23
file descriptors. TCP/IP is the default transport for 9p,
24
24
so if you are going to use 9p, you'll likely want this.
25
25
26
+ config NET_9P_VIRTIO
27
+ depends on NET_9P && EXPERIMENTAL && VIRTIO
28
+ tristate "9P Virtio Transport (Experimental)"
29
+ help
30
+ This builds support for a transports between
31
+ guest partitions and a host partition.
32
+
26
33
config NET_9P_DEBUG
27
34
bool "Debug information"
28
35
depends on NET_9P
Original file line number Diff line number Diff line change 1
1
obj-$(CONFIG_NET_9P) := 9pnet.o
2
2
obj-$(CONFIG_NET_9P_FD) += 9pnet_fd.o
3
+ obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o
3
4
4
5
9pnet-objs := \
5
6
mod.o \
@@ -12,3 +13,6 @@ obj-$(CONFIG_NET_9P_FD) += 9pnet_fd.o
12
13
13
14
9pnet_fd-objs := \
14
15
trans_fd.o \
16
+
17
+ 9pnet_virtio-objs := \
18
+ trans_virtio.o \
You can’t perform that action at this time.
0 commit comments