summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/Kconfig
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-05-23 14:22:11 -0700
committerAvi Kivity <avi@qumranet.com>2007-07-16 12:05:42 +0300
commitde062065a5293d8f434acb2d6ba5df87ad76bbd9 (patch)
treec77066cc365730523373457c259306b593ac207f /drivers/kvm/Kconfig
parent2cc51560aed0edb291341089d3475e1fbe8bfd04 (diff)
Use menuconfig objects II - KVM/Virt
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu", so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/Kconfig')
-rw-r--r--drivers/kvm/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/kvm/Kconfig b/drivers/kvm/Kconfig
index e8e37d82647..2f661e5f0da 100644
--- a/drivers/kvm/Kconfig
+++ b/drivers/kvm/Kconfig
@@ -1,8 +1,12 @@
#
# KVM configuration
#
-menu "Virtualization"
+menuconfig VIRTUALIZATION
+ bool "Virtualization"
depends on X86
+ default y
+
+if VIRTUALIZATION
config KVM
tristate "Kernel-based Virtual Machine (KVM) support"
@@ -35,4 +39,4 @@ config KVM_AMD
Provides support for KVM on AMD processors equipped with the AMD-V
(SVM) extensions.
-endmenu
+endif # VIRTUALIZATION