0a09b58bb1cb6bf568a828551f0ac3275a81a962
[cascardo/linux.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 KVM_ASYNC_PF
32         select USER_RETURN_NOTIFIER
33         select KVM_MMIO
34         select TASKSTATS
35         select TASK_DELAY_ACCT
36         ---help---
37           Support hosting fully virtualized guest machines using hardware
38           virtualization extensions.  You will need a fairly recent
39           processor equipped with virtualization extensions. You will also
40           need to select one or more of the processor modules below.
41
42           This module provides access to the hardware capabilities through
43           a character device node named /dev/kvm.
44
45           To compile this as a module, choose M here: the module
46           will be called kvm.
47
48           If unsure, say N.
49
50 config KVM_INTEL
51         tristate "KVM for Intel processors support"
52         depends on KVM
53         ---help---
54           Provides support for KVM on Intel processors equipped with the VT
55           extensions.
56
57           To compile this as a module, choose M here: the module
58           will be called kvm-intel.
59
60 config KVM_AMD
61         tristate "KVM for AMD processors support"
62         depends on KVM
63         ---help---
64           Provides support for KVM on AMD processors equipped with the AMD-V
65           (SVM) extensions.
66
67           To compile this as a module, choose M here: the module
68           will be called kvm-amd.
69
70 config KVM_MMU_AUDIT
71         bool "Audit KVM MMU"
72         depends on KVM && TRACEPOINTS
73         ---help---
74          This option adds a R/W kVM module parameter 'mmu_audit', which allows
75          audit  KVM MMU at runtime.
76
77 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
78 # the virtualization menu.
79 source drivers/vhost/Kconfig
80 source drivers/lguest/Kconfig
81
82 endif # VIRTUALIZATION