From: Jan Engelhardt Date: Wed, 23 May 2007 21:22:11 +0000 (-0700) Subject: Use menuconfig objects II - KVM/Virt X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de062065a5293d8f434acb2d6ba5df87ad76bbd9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Andrew Morton Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/Kconfig b/drivers/kvm/Kconfig index e8e37d826478..2f661e5f0dae 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