[PATCH 13/36] Use menuconfig objects II - KVM/Virt

From: Jan Engelhardt
Date: Mon Apr 30 2007 - 07:38:03 EST



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@xxxxxx>

---
drivers/kvm/Kconfig | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/kvm/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/kvm/Kconfig
@@ -1,7 +1,12 @@
#
# KVM configuration
#
-menu "Virtualization"
+
+menuconfig VIRTUALIZATION
+ bool "Virtualization"
+ default y
+
+if VIRTUALIZATION

config KVM
tristate "Kernel-based Virtual Machine (KVM) support"
@@ -34,4 +39,4 @@ config KVM_AMD
Provides support for KVM on AMD processors equipped with the AMD-V
(SVM) extensions.

-endmenu
+endif # VIRTUALIZATION
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/