]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/x86/kvm/Kconfig
KVM: switch to symbolic name for irq_states size
[mirror_ubuntu-artful-kernel.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
ca93e992
AK
23 # for device assignment:
24 depends on PCI
df3d8ae1
RD
25 # for TASKSTATS/TASK_DELAY_ACCT:
26 depends on NET
15ad7146 27 select PREEMPT_NOTIFIERS
cddb8a5c 28 select MMU_NOTIFIER
77668791 29 select ANON_INODES
0ba12d10 30 select HAVE_KVM_IRQCHIP
721eecbf 31 select HAVE_KVM_EVENTFD
73880c80 32 select KVM_APIC_ARCHITECTURE
af585b92 33 select KVM_ASYNC_PF
18863bdd 34 select USER_RETURN_NOTIFIER
50eb2a3c 35 select KVM_MMIO
fd079fac 36 select TASKSTATS
c9aaa895 37 select TASK_DELAY_ACCT
f5132b01 38 select PERF_EVENTS
07975ad3 39 select HAVE_KVM_MSI
6aa8b732
AK
40 ---help---
41 Support hosting fully virtualized guest machines using hardware
42 virtualization extensions. You will need a fairly recent
43 processor equipped with virtualization extensions. You will also
44 need to select one or more of the processor modules below.
45
46 This module provides access to the hardware capabilities through
47 a character device node named /dev/kvm.
48
49 To compile this as a module, choose M here: the module
50 will be called kvm.
51
52 If unsure, say N.
53
54config KVM_INTEL
55 tristate "KVM for Intel processors support"
56 depends on KVM
43771ebf
AK
57 # for perf_guest_get_msrs():
58 depends on CPU_SUP_INTEL
6aa8b732
AK
59 ---help---
60 Provides support for KVM on Intel processors equipped with the VT
61 extensions.
62
58f8ac27
RD
63 To compile this as a module, choose M here: the module
64 will be called kvm-intel.
65
6aa8b732
AK
66config KVM_AMD
67 tristate "KVM for AMD processors support"
68 depends on KVM
69 ---help---
70 Provides support for KVM on AMD processors equipped with the AMD-V
71 (SVM) extensions.
fd24dc4a 72
58f8ac27
RD
73 To compile this as a module, choose M here: the module
74 will be called kvm-amd.
75
8b1fe17c
XG
76config KVM_MMU_AUDIT
77 bool "Audit KVM MMU"
78 depends on KVM && TRACEPOINTS
79 ---help---
80 This option adds a R/W kVM module parameter 'mmu_audit', which allows
81 audit KVM MMU at runtime.
82
9525ca02
RR
83# OK, it's a little counter-intuitive to do this, but it puts it neatly under
84# the virtualization menu.
3a4d5c94 85source drivers/vhost/Kconfig
9525ca02
RR
86source drivers/lguest/Kconfig
87
de062065 88endif # VIRTUALIZATION