Skip to content

Commit

Permalink
xen: separate out frontend xenbus
Browse files Browse the repository at this point in the history
Impact: refactor

Make a distinct frontend xenbus, in preparation for adding a backend xenbus.

Signed-off-by: Ian Campbell <[email protected]>
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
[corresponds to 2fd433a in git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
 with adjustments to reflect changes in the code which is moved]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
  • Loading branch information
Ian Campbell authored and konradwilk committed Jan 5, 2011
1 parent cf7d7e5 commit 2de06cc
Show file tree
Hide file tree
Showing 6 changed files with 367 additions and 305 deletions.
1 change: 1 addition & 0 deletions drivers/block/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ config XEN_BLKDEV_FRONTEND
tristate "Xen virtual block device support"
depends on XEN
default y
select XEN_XENBUS_FRONTEND
help
This driver implements the front-end of the Xen virtual
block device driver. It communicates with a back-end driver
Expand Down
3 changes: 3 additions & 0 deletions drivers/xen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ config XEN_SYS_HYPERVISOR
virtual environment, /sys/hypervisor will still be present,
but will have no xen contents.

config XEN_XENBUS_FRONTEND
tristate

config XEN_PLATFORM_PCI
tristate "xen platform pci device driver"
depends on XEN_PVHVM
Expand Down
2 changes: 2 additions & 0 deletions drivers/xen/xenbus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ xenbus-objs += xenbus_client.o
xenbus-objs += xenbus_comms.o
xenbus-objs += xenbus_xs.o
xenbus-objs += xenbus_probe.o

obj-$(CONFIG_XEN_XENBUS_FRONTEND) += xenbus_probe_frontend.o
Loading

0 comments on commit 2de06cc

Please sign in to comment.