[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen: consolidate drivers/xen/Kconfig



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197454556 0
# Node ID 3ea2b75b45c524e119046c30cb9c76d73936b723
# Parent  9d7607f2307088d50986c34d7aebb59fb2cae3a2
xen: consolidate drivers/xen/Kconfig
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/Kconfig |   45 ++++++++++++++++-----------------------------
 1 files changed, 16 insertions(+), 29 deletions(-)

diff -r 9d7607f23070 -r 3ea2b75b45c5 drivers/xen/Kconfig
--- a/drivers/xen/Kconfig       Wed Dec 12 10:15:29 2007 +0000
+++ b/drivers/xen/Kconfig       Wed Dec 12 10:15:56 2007 +0000
@@ -24,22 +24,19 @@ config XEN_PRIVILEGED_GUEST
          Support for privileged operation (domain 0)
 
 config XEN_UNPRIVILEGED_GUEST
-       bool
-       default !XEN_PRIVILEGED_GUEST
+       def_bool !XEN_PRIVILEGED_GUEST
 
 config XEN_PRIVCMD
-       bool
+       def_bool y
        depends on PROC_FS
-       default y
 
 config XEN_XENBUS_DEV
-       bool
+       def_bool y
        depends on PROC_FS
-       default y
 
 config XEN_BACKEND
         tristate "Backend driver support"
-        default y
+        default XEN_PRIVILEGED_GUEST
         help
           Support for backend device drivers that provide I/O services
           to other virtual machines.
@@ -47,7 +44,7 @@ config XEN_BLKDEV_BACKEND
 config XEN_BLKDEV_BACKEND
        tristate "Block-device backend driver"
         depends on XEN_BACKEND
-       default y
+       default 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
@@ -56,7 +53,7 @@ config XEN_BLKDEV_TAP
 config XEN_BLKDEV_TAP
        tristate "Block-device tap backend driver"
        depends on XEN_BACKEND
-       default XEN_PRIVILEGED_GUEST
+       default XEN_BACKEND
        help
          The block tap driver is an alternative to the block back driver 
           and allows VM block requests to be redirected to userspace through
@@ -68,7 +65,7 @@ config XEN_NETDEV_BACKEND
 config XEN_NETDEV_BACKEND
        tristate "Network-device backend driver"
         depends on XEN_BACKEND && NET
-       default y
+       default XEN_BACKEND
        help
          The network-device backend driver allows the kernel to export its
          network devices to other guests via a high-performance shared-memory
@@ -77,7 +74,6 @@ config XEN_NETDEV_PIPELINED_TRANSMITTER
 config XEN_NETDEV_PIPELINED_TRANSMITTER
        bool "Pipelined transmitter (DANGEROUS)"
        depends on XEN_NETDEV_BACKEND
-       default n
        help
          If the net backend is a dumb domain, such as a transparent Ethernet
          bridge with no local IP interface, it is safe to say Y here to get
@@ -90,7 +86,6 @@ config XEN_NETDEV_LOOPBACK
 config XEN_NETDEV_LOOPBACK
        tristate "Network-device loopback driver"
        depends on XEN_NETDEV_BACKEND
-       default n
        help
          A two-interface loopback device to emulate a local netfront-netback
          connection. If unsure, it is probably safe to say N here.
@@ -98,7 +93,7 @@ config XEN_PCIDEV_BACKEND
 config XEN_PCIDEV_BACKEND
        tristate "PCI-device backend driver"
        depends on PCI && XEN_BACKEND
-       default XEN_PRIVILEGED_GUEST
+       default XEN_BACKEND
        help
          The PCI device backend driver allows the kernel to export arbitrary
          PCI devices to other guests. If you select this to be a module, you
@@ -158,18 +153,15 @@ config XEN_PCIDEV_BE_DEBUG
 config XEN_PCIDEV_BE_DEBUG
        bool "PCI Backend Debugging"
        depends on XEN_PCIDEV_BACKEND
-       default n
 
 config XEN_TPMDEV_BACKEND
        tristate "TPM-device backend driver"
         depends on XEN_BACKEND
-       default n
        help
          The TPM-device backend driver
 
 config XEN_BLKDEV_FRONTEND
        tristate "Block-device frontend driver"
-       depends on XEN
        default y
        help
          The block-device frontend driver allows the kernel to access block
@@ -179,7 +171,7 @@ config XEN_BLKDEV_FRONTEND
 
 config XEN_NETDEV_FRONTEND
        tristate "Network-device frontend driver"
-       depends on XEN && NET
+       depends on NET
        default y
        help
          The network-device frontend driver allows the kernel to access
@@ -196,7 +188,7 @@ config XEN_GRANT_DEV
 
 config XEN_FRAMEBUFFER
        tristate "Framebuffer-device frontend driver"
-       depends on XEN && FB
+       depends on FB
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
@@ -209,7 +201,7 @@ config XEN_FRAMEBUFFER
 
 config XEN_KEYBOARD
        tristate "Keyboard-device frontend driver"
-       depends on XEN && XEN_FRAMEBUFFER && INPUT
+       depends on XEN_FRAMEBUFFER && INPUT
        default y
        help
          The keyboard-device frontend driver allows the kernel to create a
@@ -272,28 +264,23 @@ endmenu
 endmenu
 
 config HAVE_IRQ_IGNORE_UNHANDLED
-       bool
-       default y
+       def_bool y
 
 config NO_IDLE_HZ
-       bool
-       default y
+       def_bool y
 
 config XEN_SMPBOOT
-       bool
-       default y
+       def_bool y
        depends on SMP && !PPC_XEN
 
 config XEN_BALLOON
-       bool
-       default y
+       def_bool y
        depends on !PPC_XEN
 
 config XEN_XENCOMM
        bool
 
 config XEN_DEVMEM
-       bool
-       default y
+       def_bool y
 
 endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.