Merge branch 'x86-bootmem-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / x86 / kvm / Kconfig
1 #
2 # KVM configuration
3 #
4
5 source "virt/kvm/Kconfig"
6
7 menuconfig VIRTUALIZATION
8         bool "Virtualization"
9         depends on HAVE_KVM || X86
10         default y
11         ---help---
12           Say Y here to get to see options for using your Linux host to run other
13           operating systems inside virtual machines (guests).
14           This option alone does not add any kernel code.
15
16           If you say N, all options in this submenu will be skipped and disabled.
17
18 if VIRTUALIZATION
19
20 config KVM
21         tristate "Kernel-based Virtual Machine (KVM) support"
22         depends on HAVE_KVM
23         # for device assignment:
24         depends on PCI
25         select PREEMPT_NOTIFIERS
26         select MMU_NOTIFIER
27         select ANON_INODES
28         select HAVE_KVM_IRQCHIP
29         select HAVE_KVM_EVENTFD
30         select KVM_APIC_ARCHITECTURE
31         select USER_RETURN_NOTIFIER
32         ---help---
33           Support hosting fully virtualized guest machines using hardware
34           virtualization extensions.  You will need a fairly recent
35           processor equipped with virtualization extensions. You will also
36           need to select one or more of the processor modules below.
37
38           This module provides access to the hardware capabilities through
39           a character device node named /dev/kvm.
40
41           To compile this as a module, choose M here: the module
42           will be called kvm.
43
44           If unsure, say N.
45
46 config KVM_INTEL
47         tristate "KVM for Intel processors support"
48         depends on KVM
49         ---help---
50           Provides support for KVM on Intel processors equipped with the VT
51           extensions.
52
53           To compile this as a module, choose M here: the module
54           will be called kvm-intel.
55
56 config KVM_AMD
57         tristate "KVM for AMD processors support"
58         depends on KVM
59         ---help---
60           Provides support for KVM on AMD processors equipped with the AMD-V
61           (SVM) extensions.
62
63           To compile this as a module, choose M here: the module
64           will be called kvm-amd.
65
66 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
67 # the virtualization menu.
68 source drivers/vhost/Kconfig
69 source drivers/lguest/Kconfig
70 source drivers/virtio/Kconfig
71
72 endif # VIRTUALIZATION