Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f27ee59 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Jeremy Fitzhardinge
Browse files

xen: add virtual block device driver.



The block device frontend driver allows the kernel to access block
devices exported exported by a virtual machine containing a physical
block device driver.

Signed-off-by: default avatarIan Pratt <ian.pratt@xensource.com>
Signed-off-by: default avatarChristian Limpach <Christian.Limpach@cl.cam.ac.uk>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Greg KH <greg@kroah.com>
Cc: Jens Axboe <axboe@kernel.dk>
parent 4bac07c9
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -427,4 +427,13 @@ config XILINX_SYSACE
	help
	help
	  Include support for the Xilinx SystemACE CompactFlash interface
	  Include support for the Xilinx SystemACE CompactFlash interface


config XEN_BLKDEV_FRONTEND
	tristate "Xen virtual block device support"
	depends on XEN
	default y
	help
	  This driver implements the front-end of the Xen virtual
	  block device driver.  It communicates with a back-end driver
	  in another domain which drives the actual block device.

endif # BLK_DEV
endif # BLK_DEV
+1 −0
Original line number Original line Diff line number Diff line
@@ -29,3 +29,4 @@ obj-$(CONFIG_VIODASD) += viodasd.o
obj-$(CONFIG_BLK_DEV_SX8)	+= sx8.o
obj-$(CONFIG_BLK_DEV_SX8)	+= sx8.o
obj-$(CONFIG_BLK_DEV_UB)	+= ub.o
obj-$(CONFIG_BLK_DEV_UB)	+= ub.o


obj-$(CONFIG_XEN_BLKDEV_FRONTEND)	+= xen-blkfront.o
+988 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Original line Diff line number Diff line
@@ -158,6 +158,8 @@
#define VXSPEC_MAJOR		200	/* VERITAS volume config driver */
#define VXSPEC_MAJOR		200	/* VERITAS volume config driver */
#define VXDMP_MAJOR		201	/* VERITAS volume multipath driver */
#define VXDMP_MAJOR		201	/* VERITAS volume multipath driver */


#define XENVBD_MAJOR		202	/* Xen virtual block device */

#define MSR_MAJOR		202
#define MSR_MAJOR		202
#define CPUID_MAJOR		203
#define CPUID_MAJOR		203