]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/kvm/Kconfig
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / kvm / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
6aa8b732
AK
2#
3# KVM configuration
4#
fb56dbb3 5
0ba12d10 6source "virt/kvm/Kconfig"
5d9b8e30 7
de062065
JE
8menuconfig VIRTUALIZATION
9 bool "Virtualization"
fb56dbb3 10 depends on HAVE_KVM || X86
de062065 11 default y
06bfb7eb 12 ---help---
36a74097
AK
13 Say Y here to get to see options for using your Linux host to run other
14 operating systems inside virtual machines (guests).
06bfb7eb
JE
15 This option alone does not add any kernel code.
16
17 If you say N, all options in this submenu will be skipped and disabled.
de062065
JE
18
19if VIRTUALIZATION
fd24dc4a 20
6aa8b732
AK
21config KVM
22 tristate "Kernel-based Virtual Machine (KVM) support"
268fe02a 23 depends on HAVE_KVM
92b5265d 24 depends on HIGH_RES_TIMERS
df3d8ae1 25 # for TASKSTATS/TASK_DELAY_ACCT:
c2ce3f5d 26 depends on NET && MULTIUSER
e42eef4b 27 depends on X86_LOCAL_APIC
15ad7146 28 select PREEMPT_NOTIFIERS
cddb8a5c 29 select MMU_NOTIFIER
77668791 30 select ANON_INODES
0ba12d10 31 select HAVE_KVM_IRQCHIP
297e2105 32 select HAVE_KVM_IRQFD
87276880
FW
33 select IRQ_BYPASS_MANAGER
34 select HAVE_KVM_IRQ_BYPASS
a725d56a 35 select HAVE_KVM_IRQ_ROUTING
721eecbf 36 select HAVE_KVM_EVENTFD
af585b92 37 select KVM_ASYNC_PF
18863bdd 38 select USER_RETURN_NOTIFIER
50eb2a3c 39 select KVM_MMIO
fd079fac 40 select TASKSTATS
c9aaa895 41 select TASK_DELAY_ACCT
f5132b01 42 select PERF_EVENTS
07975ad3 43 select HAVE_KVM_MSI
f2a74347 44 select HAVE_KVM_CPU_RELAX_INTERCEPT
e108ff2f 45 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
ec53500f 46 select KVM_VFIO
83fe27ea 47 select SRCU
6aa8b732
AK
48 ---help---
49 Support hosting fully virtualized guest machines using hardware
50 virtualization extensions. You will need a fairly recent
51 processor equipped with virtualization extensions. You will also
52 need to select one or more of the processor modules below.
53
54 This module provides access to the hardware capabilities through
55 a character device node named /dev/kvm.
56
57 To compile this as a module, choose M here: the module
58 will be called kvm.
59
60 If unsure, say N.
61
62config KVM_INTEL
63 tristate "KVM for Intel processors support"
64 depends on KVM
43771ebf
AK
65 # for perf_guest_get_msrs():
66 depends on CPU_SUP_INTEL
6aa8b732
AK
67 ---help---
68 Provides support for KVM on Intel processors equipped with the VT
69 extensions.
70
58f8ac27
RD
71 To compile this as a module, choose M here: the module
72 will be called kvm-intel.
73
6aa8b732
AK
74config KVM_AMD
75 tristate "KVM for AMD processors support"
76 depends on KVM
77 ---help---
78 Provides support for KVM on AMD processors equipped with the AMD-V
79 (SVM) extensions.
fd24dc4a 80
58f8ac27
RD
81 To compile this as a module, choose M here: the module
82 will be called kvm-amd.
83
8b1fe17c
XG
84config KVM_MMU_AUDIT
85 bool "Audit KVM MMU"
86 depends on KVM && TRACEPOINTS
87 ---help---
88 This option adds a R/W kVM module parameter 'mmu_audit', which allows
94491620 89 auditing of KVM MMU events at runtime.
8b1fe17c 90
9525ca02
RR
91# OK, it's a little counter-intuitive to do this, but it puts it neatly under
92# the virtualization menu.
3a4d5c94 93source drivers/vhost/Kconfig
9525ca02 94
de062065 95endif # VIRTUALIZATION