public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [PATCH 13/36] Use menuconfig objects II - KVM/Virt
  2007-04-30 11:35   ` [PATCH 13/36] Use menuconfig objects II - KVM/Virt Jan Engelhardt
@ 2007-04-30 13:45     ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-04-30 13:45 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Linux Kernel Mailing List, kvm-devel, Andrew Morton

Jan Engelhardt wrote:
> 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>
>   

Acked-by: Avi Kivity <avi@qumranet.com>

-- 
error compiling committee.c: too many arguments to function

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-30 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.61.0704301225060.29151@yvahk01.tjqt.qr>
     [not found] ` <Pine.LNX.4.61.0704301225060.29151-Lp6uho3spEnFxu5M96HglQ@public.gmane.org>
2007-04-30 11:35   ` [PATCH 13/36] Use menuconfig objects II - KVM/Virt Jan Engelhardt
2007-04-30 13:45     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox