From: Jan Engelhardt 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 Acked-by: Avi Kivity Signed-off-by: Andrew Morton --- drivers/kvm/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff -puN drivers/kvm/Kconfig~use-menuconfig-objects-ii-kvm-virt drivers/kvm/Kconfig --- a/drivers/kvm/Kconfig~use-menuconfig-objects-ii-kvm-virt +++ a/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 _