Skip to contentSkip to conversation

remove blktap

PATCH New Chris Wright 1 participant 1 message Jun 9, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove blktap

This code doesn't compile, is marked as DANGEROUS, and is said to be removed when block drivers use grant tables. So let's remove it.

---
 linux-2.6-xen-sparse/drivers/xen/Kconfig            |   13
 linux-2.6-xen-sparse/drivers/xen/Makefile           |    1
 linux-2.6-xen-sparse/drivers/xen/blktap/Makefile    |    3
 linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c    |  900 --------------------
 linux-2.6-xen-sparse/drivers/xen/blktap/common.h    |  100 --
 linux-2.6-xen-sparse/drivers/xen/blktap/interface.c |  134 --
 linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c    |  223 ----
 7 files changed, 1374 deletions(-)
linux-2.6-xen-sparse/drivers/xen/Kconfig +0 -13
diff -r 4f1e39ec05d6 linux-2.6-xen-sparse/drivers/xen/Kconfig
@@ -84,19 +84,6 @@ config XEN_BLKDEV_BACKEND
 	  block devices to other guests via a high-performance shared-memory
 	  interface.
 
-config XEN_BLKDEV_TAP_BE
-        tristate "Block Tap support for backend driver (DANGEROUS)"
-        depends on XEN_BLKDEV_BACKEND
-        default n
-        help
-          If you intend to use the block tap driver, the backend domain will
-          not know the domain id of the real frontend, and so will not be able
-          to map its data pages.  This modifies the backend to attempt to map
-          from both the tap domain and the real frontend.  This presents a
-          security risk, and so should ONLY be used for development
-          with the blktap.  This option will be removed as the block drivers are
-          modified to use grant tables.
-
 config XEN_NETDEV_BACKEND
 	tristate "Network-device backend driver"
         depends on XEN_BACKEND && NET
linux-2.6-xen-sparse/drivers/xen/Makefile +0 -1
diff -r 4f1e39ec05d6 linux-2.6-xen-sparse/drivers/xen/Makefile
@@ -12,6 +12,5 @@ obj-$(CONFIG_XEN_TPMDEV_BACKEND)	+= tpmb
 obj-$(CONFIG_XEN_TPMDEV_BACKEND)	+= tpmback/
 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)	+= blkfront/
 obj-$(CONFIG_XEN_NETDEV_FRONTEND)	+= netfront/
-obj-$(CONFIG_XEN_BLKDEV_TAP)    	+= blktap/
 obj-$(CONFIG_XEN_PCIDEV_BACKEND)	+= pciback/
 obj-$(CONFIG_XEN_PCIDEV_FRONTEND)	+= pcifront/
linux-2.6-xen-sparse/drivers/xen/blktap/Makefile deleted +0 -3
diff -r 4f1e39ec05d6 linux-2.6-xen-sparse/drivers/xen/blktap/Makefile
@@ -1,3 +0,0 @@
-
-obj-y	:= xenbus.o interface.o blktap.o 
-
linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c deleted +0 -900

900 lines not on this page · raw message

linux-2.6-xen-sparse/drivers/xen/blktap/common.h deleted +0 -100

100 lines not on this page · raw message

linux-2.6-xen-sparse/drivers/xen/blktap/interface.c deleted +0 -134

134 lines not on this page · raw message

linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c deleted +0 -223

223 lines not on this page · raw message