xen/blkback: Move it from drivers/xen to drivers/block
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 18 Apr 2011 18:24:23 +0000 (14:24 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 18 Apr 2011 18:30:26 +0000 (14:30 -0400)
.. and modify the Makefile and Kconfig files appropriately.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/Kconfig
drivers/block/Makefile
drivers/block/xen-blkback/Makefile [moved from drivers/xen/blkback/Makefile with 100% similarity]
drivers/block/xen-blkback/blkback.c [moved from drivers/xen/blkback/blkback.c with 100% similarity]
drivers/block/xen-blkback/common.h [moved from drivers/xen/blkback/common.h with 100% similarity]
drivers/block/xen-blkback/interface.c [moved from drivers/xen/blkback/interface.c with 100% similarity]
drivers/block/xen-blkback/vbd.c [moved from drivers/xen/blkback/vbd.c with 100% similarity]
drivers/block/xen-blkback/xenbus.c [moved from drivers/xen/blkback/xenbus.c with 100% similarity]
drivers/xen/Kconfig
drivers/xen/Makefile

index 83c32cb..9abb646 100644 (file)
@@ -470,6 +470,14 @@ config XEN_BLKDEV_FRONTEND
          block device driver.  It communicates with a back-end driver
          in another domain which drives the actual block device.
 
+config XEN_BLKDEV_BACKEND
+       tristate "Block-device backend driver"
+       depends on XEN_BACKEND
+       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 VIRTIO_BLK
        tristate "Virtio block driver (EXPERIMENTAL)"
        depends on EXPERIMENTAL && VIRTIO
index 40528ba..76646e9 100644 (file)
@@ -36,6 +36,7 @@ obj-$(CONFIG_BLK_DEV_UB)      += ub.o
 obj-$(CONFIG_BLK_DEV_HD)       += hd.o
 
 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)      += xen-blkfront.o
+obj-$(CONFIG_XEN_BLKDEV_BACKEND)       += xen-blkback/
 obj-$(CONFIG_BLK_DEV_DRBD)     += drbd/
 obj-$(CONFIG_BLK_DEV_RBD)     += rbd.o
 
index fb1af62..a59638b 100644 (file)
@@ -37,14 +37,6 @@ 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
index 29c0a41..f420f1f 100644 (file)
@@ -11,7 +11,6 @@ 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