]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/kvm/Kconfig
KVM: Don't assign vcpu->cr3 if it's invalid: check first, set last
[linux-2.6-omap-h63xx.git] / drivers / kvm / Kconfig
index 703cc88d1ef974bcf8d0b27f7625f23d079aec4c..8749fa4ffcee955725e9f8992104c086522828a2 100644 (file)
@@ -1,11 +1,24 @@
 #
 # KVM configuration
 #
-menu "Virtualization"
+menuconfig VIRTUALIZATION
+       bool "Virtualization"
+       depends on X86
+       default y
+       ---help---
+         Say Y here to get to see options for using your Linux host to run other
+         operating systems inside virtual machines (guests).
+         This option alone does not add any kernel code.
+
+         If you say N, all options in this submenu will be skipped and disabled.
+
+if VIRTUALIZATION
 
 config KVM
        tristate "Kernel-based Virtual Machine (KVM) support"
        depends on X86 && EXPERIMENTAL
+       select PREEMPT_NOTIFIERS
+       select ANON_INODES
        ---help---
          Support hosting fully virtualized guest machines using hardware
          virtualization extensions.  You will need a fairly recent
@@ -34,4 +47,4 @@ config KVM_AMD
          Provides support for KVM on AMD processors equipped with the AMD-V
          (SVM) extensions.
 
-endmenu
+endif # VIRTUALIZATION