[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC v1 3/8] xen: drivers: add XEN_FRONTEND and fold front end drivers under them
From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx> Fold Xen front end drivers under their own Kconfig entry. You may want to for example only enable domU guests with pv-drivers. While at it make HVC_XEN_FRONTEND select HVC_XEN. This is a per the agreed upon Kconfig changes for Xen [0]. [0] http://comments.gmane.org/gmane.comp.emulators.xen.devel/231579 Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxx> --- drivers/block/Kconfig | 3 +-- drivers/input/misc/Kconfig | 3 +-- drivers/net/Kconfig | 3 +-- drivers/pci/Kconfig | 3 +-- drivers/scsi/Kconfig | 3 +-- drivers/tty/hvc/Kconfig | 4 ++-- drivers/video/fbdev/Kconfig | 3 +-- drivers/xen/Kconfig | 10 ++++++++++ 8 files changed, 18 insertions(+), 14 deletions(-) diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 014a1cf..8259879 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -482,9 +482,8 @@ config XILINX_SYSACE config XEN_BLKDEV_FRONTEND tristate "Xen virtual block device support" - depends on XEN + depends on XEN_FRONTEND 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 diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index 23297ab..71a736b 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig @@ -656,9 +656,8 @@ config INPUT_CMA3000_I2C config INPUT_XEN_KBDDEV_FRONTEND tristate "Xen virtual keyboard and mouse support" - depends on XEN + depends on XEN_FRONTEND default y - select XEN_XENBUS_FRONTEND help This driver implements the front-end of the Xen virtual keyboard and mouse device driver. It communicates with a back-end diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index d6607ee..0ae5cbc 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -333,8 +333,7 @@ source "drivers/net/ieee802154/Kconfig" config XEN_NETDEV_FRONTEND tristate "Xen network device frontend driver" - depends on XEN - select XEN_XENBUS_FRONTEND + depends on XEN_FRONTEND default y help This driver provides support for Xen paravirtual network diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 7a8f1c5..0120499 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -56,9 +56,8 @@ config PCI_STUB config XEN_PCIDEV_FRONTEND tristate "Xen PCI Frontend" - depends on PCI && X86 && XEN + depends on PCI && X86 && XEN_FRONTEND select PCI_XEN - select XEN_XENBUS_FRONTEND default y help The PCI device frontend driver allows the kernel to import arbitrary diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 9c92f41..e369f0b 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -588,8 +588,7 @@ config VMWARE_PVSCSI config XEN_SCSI_FRONTEND tristate "XEN SCSI frontend driver" - depends on SCSI && XEN - select XEN_XENBUS_FRONTEND + depends on SCSI && XEN_FRONTEND help The XEN SCSI frontend driver allows the kernel to access SCSI Devices within another guest OS (usually Dom0). diff --git a/drivers/tty/hvc/Kconfig b/drivers/tty/hvc/Kconfig index 8902f9b..b9dec5f 100644 --- a/drivers/tty/hvc/Kconfig +++ b/drivers/tty/hvc/Kconfig @@ -70,8 +70,8 @@ config HVC_XEN config HVC_XEN_FRONTEND bool "Xen Hypervisor Multiple Consoles support" - depends on HVC_XEN - select XEN_XENBUS_FRONTEND + depends on XEN_FRONTEND + select HVC_XEN default y help Xen driver for secondary virtual consoles diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 4916c97..e0149d1 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2243,14 +2243,13 @@ config FB_VIRTUAL config XEN_FBDEV_FRONTEND tristate "Xen virtual frame buffer support" - depends on FB && XEN + depends on FB && XEN_FRONTEND select FB_SYS_FILLRECT select FB_SYS_COPYAREA select FB_SYS_IMAGEBLIT select FB_SYS_FOPS select FB_DEFERRED_IO select INPUT_XEN_KBDDEV_FRONTEND if INPUT_MISC - select XEN_XENBUS_FRONTEND default y help This driver implements the front-end of the Xen virtual diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 9350de02..2af6f69 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -83,6 +83,16 @@ config XEN_BACKEND Support for backend device drivers that provide I/O services to other virtual machines. +config XEN_FRONTEND + bool "Frontend driver support" + select XEN + select XEN_XENBUS_FRONTEND + default y + help + Support for frontend device drivers for Xen. You want to enable + this if you want to run Xen guests. You can for instance enable + domU guests with pv-drivers. + config XENFS tristate "Xen filesystem" select XEN_PRIVCMD -- 2.2.2 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |