]>
Commit | Line | Data |
---|---|---|
6aa8b732 AK |
1 | # |
2 | # KVM configuration | |
3 | # | |
fb56dbb3 | 4 | |
0ba12d10 | 5 | source "virt/kvm/Kconfig" |
5d9b8e30 | 6 | |
de062065 JE |
7 | menuconfig 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 | |
18 | if VIRTUALIZATION | |
fd24dc4a | 19 | |
6aa8b732 AK |
20 | config 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 |
a725d56a | 30 | select HAVE_KVM_IRQ_ROUTING |
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 |
f2a74347 | 40 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
ec53500f | 41 | select KVM_VFIO |
6aa8b732 AK |
42 | ---help--- |
43 | Support hosting fully virtualized guest machines using hardware | |
44 | virtualization extensions. You will need a fairly recent | |
45 | processor equipped with virtualization extensions. You will also | |
46 | need to select one or more of the processor modules below. | |
47 | ||
48 | This module provides access to the hardware capabilities through | |
49 | a character device node named /dev/kvm. | |
50 | ||
51 | To compile this as a module, choose M here: the module | |
52 | will be called kvm. | |
53 | ||
54 | If unsure, say N. | |
55 | ||
56 | config KVM_INTEL | |
57 | tristate "KVM for Intel processors support" | |
58 | depends on KVM | |
43771ebf AK |
59 | # for perf_guest_get_msrs(): |
60 | depends on CPU_SUP_INTEL | |
6aa8b732 AK |
61 | ---help--- |
62 | Provides support for KVM on Intel processors equipped with the VT | |
63 | extensions. | |
64 | ||
58f8ac27 RD |
65 | To compile this as a module, choose M here: the module |
66 | will be called kvm-intel. | |
67 | ||
6aa8b732 AK |
68 | config KVM_AMD |
69 | tristate "KVM for AMD processors support" | |
70 | depends on KVM | |
71 | ---help--- | |
72 | Provides support for KVM on AMD processors equipped with the AMD-V | |
73 | (SVM) extensions. | |
fd24dc4a | 74 | |
58f8ac27 RD |
75 | To compile this as a module, choose M here: the module |
76 | will be called kvm-amd. | |
77 | ||
8b1fe17c XG |
78 | config KVM_MMU_AUDIT |
79 | bool "Audit KVM MMU" | |
80 | depends on KVM && TRACEPOINTS | |
81 | ---help--- | |
82 | This option adds a R/W kVM module parameter 'mmu_audit', which allows | |
94491620 | 83 | auditing of KVM MMU events at runtime. |
8b1fe17c | 84 | |
2a5bab10 AW |
85 | config KVM_DEVICE_ASSIGNMENT |
86 | bool "KVM legacy PCI device assignment support" | |
87 | depends on KVM && PCI && IOMMU_API | |
88 | default y | |
89 | ---help--- | |
90 | Provide support for legacy PCI device assignment through KVM. The | |
91 | kernel now also supports a full featured userspace device driver | |
92 | framework through VFIO, which supersedes much of this support. | |
93 | ||
94 | If unsure, say Y. | |
95 | ||
9525ca02 RR |
96 | # OK, it's a little counter-intuitive to do this, but it puts it neatly under |
97 | # the virtualization menu. | |
3a4d5c94 | 98 | source drivers/vhost/Kconfig |
9525ca02 RR |
99 | source drivers/lguest/Kconfig |
100 | ||
de062065 | 101 | endif # VIRTUALIZATION |