Use menuconfig objects II - KVM/Virt
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Wed, 23 May 2007 21:22:11 +0000 (14:22 -0700)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:42 +0000 (12:05 +0300)
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>
drivers/kvm/Kconfig

index e8e37d826478842df2d95d7f4d65db77623c8dfe..2f661e5f0dae67f37209879e34bbf50546d4486b 100644 (file)
@@ -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