Skip to content

Commit

Permalink
xen: add blkback support
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Conflicts:

	drivers/xen/Makefile
  • Loading branch information
Konrad Rzeszutek Wilk committed Apr 14, 2011
1 parent a6360dd commit 4d05a28
Show file tree
Hide file tree
Showing 9 changed files with 1,770 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/xen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ config XEN_BACKEND
Support for backend device drivers that provide I/O services
to other virtual machines.

config XEN_BLKDEV_BACKEND
tristate "Block-device backend driver"
depends on XEN_BACKEND && BLOCK
help
The block-device backend driver allows the kernel to export its
block devices to other guests via a high-performance shared-memory
interface.

config XENFS
tristate "Xen filesystem"
default y
Expand Down
1 change: 1 addition & 0 deletions drivers/xen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ obj-$(CONFIG_XEN_BALLOON) += xen-balloon.o
obj-$(CONFIG_XEN_DEV_EVTCHN) += xen-evtchn.o
obj-$(CONFIG_XEN_GNTDEV) += xen-gntdev.o
obj-$(CONFIG_XEN_GRANT_DEV_ALLOC) += xen-gntalloc.o
obj-$(CONFIG_XEN_BLKDEV_BACKEND) += blkback/
obj-$(CONFIG_XENFS) += xenfs/
obj-$(CONFIG_XEN_SYS_HYPERVISOR) += sys-hypervisor.o
obj-$(CONFIG_XEN_PLATFORM_PCI) += xen-platform-pci.o
Expand Down
3 changes: 3 additions & 0 deletions drivers/xen/blkback/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_XEN_BLKDEV_BACKEND) := blkbk.o

blkbk-y := blkback.o xenbus.o interface.o vbd.o
Loading

0 comments on commit 4d05a28

Please sign in to comment.