Skip to content

Commit 9f27ee5

Browse files
Jeremy Fitzhardingejsgf
authored andcommitted
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: Ian Pratt <ian.pratt@xensource.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> Signed-off-by: Chris 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>
1 parent 4bac07c commit 9f27ee5

4 files changed

Lines changed: 1000 additions & 0 deletions

File tree

‎drivers/block/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,4 +427,13 @@ config XILINX_SYSACE
427427
help
428428
Include support for the Xilinx SystemACE CompactFlash interface
429429

430+
config XEN_BLKDEV_FRONTEND
431+
tristate "Xen virtual block device support"
432+
depends on XEN
433+
default y
434+
help
435+
This driver implements the front-end of the Xen virtual
436+
block device driver. It communicates with a back-end driver
437+
in another domain which drives the actual block device.
438+
430439
endif # BLK_DEV

‎drivers/block/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ obj-$(CONFIG_VIODASD) += viodasd.o
2929
obj-$(CONFIG_BLK_DEV_SX8) += sx8.o
3030
obj-$(CONFIG_BLK_DEV_UB) += ub.o
3131

32+
obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o

0 commit comments

Comments
 (0)