.. | .. |
---|
9 | 9 | bool "Virtualization" |
---|
10 | 10 | depends on HAVE_KVM || X86 |
---|
11 | 11 | default y |
---|
12 | | - ---help--- |
---|
| 12 | + help |
---|
13 | 13 | Say Y here to get to see options for using your Linux host to run other |
---|
14 | 14 | operating systems inside virtual machines (guests). |
---|
15 | 15 | This option alone does not add any kernel code. |
---|
.. | .. |
---|
41 | 41 | select PERF_EVENTS |
---|
42 | 42 | select HAVE_KVM_MSI |
---|
43 | 43 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
---|
| 44 | + select HAVE_KVM_NO_POLL |
---|
| 45 | + select KVM_XFER_TO_GUEST_WORK |
---|
44 | 46 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
---|
45 | 47 | select KVM_VFIO |
---|
46 | 48 | select SRCU |
---|
47 | | - ---help--- |
---|
| 49 | + help |
---|
48 | 50 | Support hosting fully virtualized guest machines using hardware |
---|
49 | 51 | virtualization extensions. You will need a fairly recent |
---|
50 | 52 | processor equipped with virtualization extensions. You will also |
---|
.. | .. |
---|
58 | 60 | |
---|
59 | 61 | If unsure, say N. |
---|
60 | 62 | |
---|
61 | | -config KVM_INTEL |
---|
62 | | - tristate "KVM for Intel processors support" |
---|
| 63 | +config KVM_WERROR |
---|
| 64 | + bool "Compile KVM with -Werror" |
---|
| 65 | + # KASAN may cause the build to fail due to larger frames |
---|
| 66 | + default y if X86_64 && !KASAN |
---|
| 67 | + # We use the dependency on !COMPILE_TEST to not be enabled |
---|
| 68 | + # blindly in allmodconfig or allyesconfig configurations |
---|
63 | 69 | depends on KVM |
---|
64 | | - # for perf_guest_get_msrs(): |
---|
65 | | - depends on CPU_SUP_INTEL |
---|
66 | | - ---help--- |
---|
67 | | - Provides support for KVM on Intel processors equipped with the VT |
---|
68 | | - extensions. |
---|
| 70 | + depends on (X86_64 && !KASAN) || !COMPILE_TEST |
---|
| 71 | + depends on EXPERT |
---|
| 72 | + help |
---|
| 73 | + Add -Werror to the build flags for KVM. |
---|
| 74 | + |
---|
| 75 | + If in doubt, say "N". |
---|
| 76 | + |
---|
| 77 | +config KVM_INTEL |
---|
| 78 | + tristate "KVM for Intel (and compatible) processors support" |
---|
| 79 | + depends on KVM && IA32_FEAT_CTL |
---|
| 80 | + help |
---|
| 81 | + Provides support for KVM on processors equipped with Intel's VT |
---|
| 82 | + extensions, a.k.a. Virtual Machine Extensions (VMX). |
---|
69 | 83 | |
---|
70 | 84 | To compile this as a module, choose M here: the module |
---|
71 | 85 | will be called kvm-intel. |
---|
.. | .. |
---|
73 | 87 | config KVM_AMD |
---|
74 | 88 | tristate "KVM for AMD processors support" |
---|
75 | 89 | depends on KVM |
---|
76 | | - ---help--- |
---|
| 90 | + help |
---|
77 | 91 | Provides support for KVM on AMD processors equipped with the AMD-V |
---|
78 | 92 | (SVM) extensions. |
---|
79 | 93 | |
---|
.. | .. |
---|
85 | 99 | bool "AMD Secure Encrypted Virtualization (SEV) support" |
---|
86 | 100 | depends on KVM_AMD && X86_64 |
---|
87 | 101 | depends on CRYPTO_DEV_SP_PSP && !(KVM_AMD=y && CRYPTO_DEV_CCP_DD=m) |
---|
88 | | - ---help--- |
---|
| 102 | + help |
---|
89 | 103 | Provides support for launching Encrypted VMs on AMD processors. |
---|
90 | 104 | |
---|
91 | 105 | config KVM_MMU_AUDIT |
---|
92 | 106 | bool "Audit KVM MMU" |
---|
93 | 107 | depends on KVM && TRACEPOINTS |
---|
94 | | - ---help--- |
---|
| 108 | + help |
---|
95 | 109 | This option adds a R/W kVM module parameter 'mmu_audit', which allows |
---|
96 | 110 | auditing of KVM MMU events at runtime. |
---|
97 | | - |
---|
98 | | -# OK, it's a little counter-intuitive to do this, but it puts it neatly under |
---|
99 | | -# the virtualization menu. |
---|
100 | | -source drivers/vhost/Kconfig |
---|
101 | 111 | |
---|
102 | 112 | endif # VIRTUALIZATION |
---|