diff options
author | Stefano Stabellini <sstabellini@kernel.org> | 2017-04-05 15:04:01 -0400 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2017-05-02 05:11:49 -0400 |
commit | 7f25483a88291ed6b2cbe761ee2a30a69674b131 (patch) | |
tree | bb8814bf46323d99cb75468ae15ec60f4437e997 | |
parent | f66c72bea1293786b9916894019f96bcd729505b (diff) |
xen/9pfs: build 9pfs Xen transport driver
This patch adds a Kconfig option and Makefile support for building the
9pfs Xen driver.
CC: groug@kaod.org
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
CC: Eric Van Hensbergen <ericvh@gmail.com>
CC: Ron Minnich <rminnich@sandia.gov>
CC: Latchesar Ionkov <lucho@ionkov.net>
CC: v9fs-developer@lists.sourceforge.net
Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
-rw-r--r-- | net/9p/Kconfig | 8 | ||||
-rw-r--r-- | net/9p/Makefile | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net/9p/Kconfig b/net/9p/Kconfig index a75174a33723..3f286f1bd1d3 100644 --- a/net/9p/Kconfig +++ b/net/9p/Kconfig | |||
@@ -22,6 +22,14 @@ config NET_9P_VIRTIO | |||
22 | This builds support for a transports between | 22 | This builds support for a transports between |
23 | guest partitions and a host partition. | 23 | guest partitions and a host partition. |
24 | 24 | ||
25 | config NET_9P_XEN | ||
26 | depends on XEN | ||
27 | tristate "9P Xen Transport" | ||
28 | help | ||
29 | This builds support for a transport for 9pfs between | ||
30 | two Xen domains. | ||
31 | |||
32 | |||
25 | config NET_9P_RDMA | 33 | config NET_9P_RDMA |
26 | depends on INET && INFINIBAND && INFINIBAND_ADDR_TRANS | 34 | depends on INET && INFINIBAND && INFINIBAND_ADDR_TRANS |
27 | tristate "9P RDMA Transport (Experimental)" | 35 | tristate "9P RDMA Transport (Experimental)" |
diff --git a/net/9p/Makefile b/net/9p/Makefile index a0874cc1f718..697ea7caf466 100644 --- a/net/9p/Makefile +++ b/net/9p/Makefile | |||
@@ -1,4 +1,5 @@ | |||
1 | obj-$(CONFIG_NET_9P) := 9pnet.o | 1 | obj-$(CONFIG_NET_9P) := 9pnet.o |
2 | obj-$(CONFIG_NET_9P_XEN) += 9pnet_xen.o | ||
2 | obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o | 3 | obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o |
3 | obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o | 4 | obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o |
4 | 5 | ||
@@ -14,5 +15,8 @@ obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o | |||
14 | 9pnet_virtio-objs := \ | 15 | 9pnet_virtio-objs := \ |
15 | trans_virtio.o \ | 16 | trans_virtio.o \ |
16 | 17 | ||
18 | 9pnet_xen-objs := \ | ||
19 | trans_xen.o \ | ||
20 | |||
17 | 9pnet_rdma-objs := \ | 21 | 9pnet_rdma-objs := \ |
18 | trans_rdma.o \ | 22 | trans_rdma.o \ |