Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / arch / x86 / kvm / Kconfig
CommitLineData
6aa8b732
AK
1#
2# KVM configuration
3#
fb56dbb3 4
0ba12d10 5source "virt/kvm/Kconfig"
5d9b8e30 6
de062065
JE
7menuconfig VIRTUALIZATION
8 bool "Virtualization"
fb56dbb3 9 depends on HAVE_KVM || X86
de062065 10 default y
06bfb7eb 11 ---help---
36a74097
AK
12 Say Y here to get to see options for using your Linux host to run other
13 operating systems inside virtual machines (guests).
06bfb7eb
JE
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.
de062065
JE
17
18if VIRTUALIZATION
fd24dc4a 19
6aa8b732
AK
20config KVM
21 tristate "Kernel-based Virtual Machine (KVM) support"
268fe02a 22 depends on HAVE_KVM
92b5265d 23 depends on HIGH_RES_TIMERS
df3d8ae1
RD
24 # for TASKSTATS/TASK_DELAY_ACCT:
25 depends on NET
15ad7146 26 select PREEMPT_NOTIFIERS
cddb8a5c 27 select MMU_NOTIFIER
77668791 28 select ANON_INODES
0ba12d10 29 select HAVE_KVM_IRQCHIP
297e2105 30 select HAVE_KVM_IRQFD
87276880
FW
31 select IRQ_BYPASS_MANAGER
32 select HAVE_KVM_IRQ_BYPASS
a725d56a 33 select HAVE_KVM_IRQ_ROUTING
721eecbf 34 select HAVE_KVM_EVENTFD
73880c80 35 select KVM_APIC_ARCHITECTURE
af585b92 36 select KVM_ASYNC_PF
18863bdd 37 select USER_RETURN_NOTIFIER
50eb2a3c 38 select KVM_MMIO
fd079fac 39 select TASKSTATS
c9aaa895 40 select TASK_DELAY_ACCT
f5132b01 41 select PERF_EVENTS
07975ad3 42 select HAVE_KVM_MSI
f2a74347 43 select HAVE_KVM_CPU_RELAX_INTERCEPT
e108ff2f 44 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
ec53500f 45 select KVM_VFIO
83fe27ea 46 select SRCU
6aa8b732
AK
47 ---help---
48 Support hosting fully virtualized guest machines using hardware
49 virtualization extensions. You will need a fairly recent
50 processor equipped with virtualization extensions. You will also
51 need to select one or more of the processor modules below.
52
53 This module provides access to the hardware capabilities through
54 a character device node named /dev/kvm.
55
56 To compile this as a module, choose M here: the module
57 will be called kvm.
58
59 If unsure, say N.
60
61config KVM_INTEL
62 tristate "KVM for Intel processors support"
63 depends on KVM
43771ebf
AK
64 # for perf_guest_get_msrs():
65 depends on CPU_SUP_INTEL
6aa8b732
AK
66 ---help---
67 Provides support for KVM on Intel processors equipped with the VT
68 extensions.
69
58f8ac27
RD
70 To compile this as a module, choose M here: the module
71 will be called kvm-intel.
72
6aa8b732
AK
73config KVM_AMD
74 tristate "KVM for AMD processors support"
75 depends on KVM
76 ---help---
77 Provides support for KVM on AMD processors equipped with the AMD-V
78 (SVM) extensions.
fd24dc4a 79
58f8ac27
RD
80 To compile this as a module, choose M here: the module
81 will be called kvm-amd.
82
8b1fe17c
XG
83config KVM_MMU_AUDIT
84 bool "Audit KVM MMU"
85 depends on KVM && TRACEPOINTS
86 ---help---
87 This option adds a R/W kVM module parameter 'mmu_audit', which allows
94491620 88 auditing of KVM MMU events at runtime.
8b1fe17c 89
2a5bab10 90config KVM_DEVICE_ASSIGNMENT
e80a4a94 91 bool "KVM legacy PCI device assignment support (DEPRECATED)"
2a5bab10 92 depends on KVM && PCI && IOMMU_API
e194bbdf 93 default n
2a5bab10
AW
94 ---help---
95 Provide support for legacy PCI device assignment through KVM. The
96 kernel now also supports a full featured userspace device driver
e194bbdf
PB
97 framework through VFIO, which supersedes this support and provides
98 better security.
2a5bab10 99
e194bbdf 100 If unsure, say N.
2a5bab10 101
9525ca02
RR
102# OK, it's a little counter-intuitive to do this, but it puts it neatly under
103# the virtualization menu.
3a4d5c94 104source drivers/vhost/Kconfig
9525ca02
RR
105source drivers/lguest/Kconfig
106
de062065 107endif # VIRTUALIZATION
This page took 1.361904 seconds and 5 git commands to generate.