xen/9pfs: build 9pfs Xen transport driver
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 5 Apr 2017 19:04:01 +0000 (12:04 -0700)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:11:49 +0000 (11:11 +0200)
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>
net/9p/Kconfig
net/9p/Makefile

index a75174a337237d5f113ca8c1616a01a46e72ac59..3f286f1bd1d3779a1c74e3cc74edb6e2c939aa24 100644 (file)
@@ -22,6 +22,14 @@ config NET_9P_VIRTIO
          This builds support for a transports between
          guest partitions and a host partition.
 
          This builds support for a transports between
          guest partitions and a host partition.
 
+config NET_9P_XEN
+       depends on XEN
+       tristate "9P Xen Transport"
+       help
+         This builds support for a transport for 9pfs between
+         two Xen domains.
+
+
 config NET_9P_RDMA
        depends on INET && INFINIBAND && INFINIBAND_ADDR_TRANS
        tristate "9P RDMA Transport (Experimental)"
 config NET_9P_RDMA
        depends on INET && INFINIBAND && INFINIBAND_ADDR_TRANS
        tristate "9P RDMA Transport (Experimental)"
index a0874cc1f718bcadbb604458127bebcf5664a2c5..697ea7caf46605d2b015200fb1dd126c92caaa30 100644 (file)
@@ -1,4 +1,5 @@
 obj-$(CONFIG_NET_9P) := 9pnet.o
 obj-$(CONFIG_NET_9P) := 9pnet.o
+obj-$(CONFIG_NET_9P_XEN) += 9pnet_xen.o
 obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o
 obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o
 
 obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o
 obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o
 
@@ -14,5 +15,8 @@ obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o
 9pnet_virtio-objs := \
        trans_virtio.o \
 
 9pnet_virtio-objs := \
        trans_virtio.o \
 
+9pnet_xen-objs := \
+       trans_xen.o \
+
 9pnet_rdma-objs := \
        trans_rdma.o \
 9pnet_rdma-objs := \
        trans_rdma.o \