* [PATCH 13/36] Use menuconfig objects II - KVM/Virt
[not found] ` <Pine.LNX.4.61.0704301225060.29151-Lp6uho3spEnFxu5M96HglQ@public.gmane.org>
@ 2007-04-30 11:35 ` Jan Engelhardt
2007-04-30 13:45 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2007-04-30 11:35 UTC (permalink / raw)
To: Avi Kivity
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Andrew Morton,
Linux Kernel Mailing List
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-Mmb7MZpHnFY@public.gmane.org>
---
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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
^ permalink raw reply [flat|nested] 2+ messages in thread