[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] blktap2: introduce blktap2 dedicated config.



blktap2: introduce blktap2 dedicated config.

introduce CONFIG_XEN_BLKDEV_TAP2 instead of CONFIG_XEN_BLKDEV_TAP.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -63,6 +63,18 @@ config XEN_BLKDEV_TAP
           as files, in memory, or on other hosts across the network.  This 
          driver can safely coexist with the existing blockback driver.
 
+config XEN_BLKDEV_TAP2
+       tristate "Block-device tap backend driver 2"
+       depends on XEN_BACKEND
+       default XEN_BACKEND
+       help
+         The block tap driver is an alternative to the block back driver 
+          and allows VM block requests to be redirected to userspace through
+          a device interface.  The tap allows user-space development of 
+          high-performance block backends, where disk images may be implemented
+          as files, in memory, or on other hosts across the network.  This 
+         driver can safely coexist with the existing blockback driver.
+
 config XEN_NETDEV_BACKEND
        tristate "Network-device backend driver"
         depends on XEN_BACKEND && NET
diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
--- a/drivers/xen/Makefile
+++ b/drivers/xen/Makefile
@@ -8,7 +8,7 @@ obj-y   += util.o
 obj-$(CONFIG_XEN_BALLOON)              += balloon/
 obj-$(CONFIG_XEN_BLKDEV_BACKEND)       += blkback/
 obj-$(CONFIG_XEN_BLKDEV_TAP)           += blktap/
-obj-$(CONFIG_XEN_BLKDEV_TAP)            += blktap2/
+obj-$(CONFIG_XEN_BLKDEV_TAP2)           += blktap2/
 obj-$(CONFIG_XEN_NETDEV_BACKEND)       += netback/
 obj-$(CONFIG_XEN_TPMDEV_BACKEND)       += tpmback/
 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)      += blkfront/
diff --git a/drivers/xen/blktap2/Makefile b/drivers/xen/blktap2/Makefile
--- a/drivers/xen/blktap2/Makefile
+++ b/drivers/xen/blktap2/Makefile
@@ -1,3 +1,3 @@
-obj-y := blktap.o
+obj-$(CONFIG_XEN_BLKDEV_TAP2) := blktap.o
 
 blktap-objs := control.o ring.o wait_queue.o device.o request.o sysfs.o


-- 
yamahata

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.