~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/x86/kvm/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/x86/kvm/Kconfig (Version linux-6.12-rc7) and /arch/m68k/kvm/Kconfig (Version linux-6.11.7)


  1 # SPDX-License-Identifier: GPL-2.0                
  2 #                                                 
  3 # KVM configuration                               
  4 #                                                 
  5                                                   
  6 source "virt/kvm/Kconfig"                         
  7                                                   
  8 menuconfig VIRTUALIZATION                         
  9         bool "Virtualization"                     
 10         default y                                 
 11         help                                      
 12           Say Y here to get to see options for    
 13           operating systems inside virtual mac    
 14           This option alone does not add any k    
 15                                                   
 16           If you say N, all options in this su    
 17                                                   
 18 if VIRTUALIZATION                                 
 19                                                   
 20 config KVM_X86                                    
 21         def_tristate KVM if KVM_INTEL || KVM_A    
 22         depends on X86_LOCAL_APIC                 
 23         select KVM_COMMON                         
 24         select KVM_GENERIC_MMU_NOTIFIER           
 25         select HAVE_KVM_IRQCHIP                   
 26         select HAVE_KVM_PFNCACHE                  
 27         select HAVE_KVM_DIRTY_RING_TSO            
 28         select HAVE_KVM_DIRTY_RING_ACQ_REL        
 29         select HAVE_KVM_IRQ_BYPASS                
 30         select HAVE_KVM_IRQ_ROUTING               
 31         select HAVE_KVM_READONLY_MEM              
 32         select KVM_ASYNC_PF                       
 33         select USER_RETURN_NOTIFIER               
 34         select KVM_MMIO                           
 35         select SCHED_INFO                         
 36         select PERF_EVENTS                        
 37         select GUEST_PERF_EVENTS                  
 38         select HAVE_KVM_MSI                       
 39         select HAVE_KVM_CPU_RELAX_INTERCEPT       
 40         select HAVE_KVM_NO_POLL                   
 41         select KVM_XFER_TO_GUEST_WORK             
 42         select KVM_GENERIC_DIRTYLOG_READ_PROTE    
 43         select KVM_VFIO                           
 44         select HAVE_KVM_PM_NOTIFIER if PM         
 45         select KVM_GENERIC_HARDWARE_ENABLING      
 46         select KVM_GENERIC_PRE_FAULT_MEMORY       
 47         select KVM_GENERIC_PRIVATE_MEM if KVM_    
 48         select KVM_WERROR if WERROR               
 49                                                   
 50 config KVM                                        
 51         tristate "Kernel-based Virtual Machine    
 52         help                                      
 53           Support hosting fully virtualized gu    
 54           virtualization extensions.  You will    
 55           processor equipped with virtualizati    
 56           need to select one or more of the pr    
 57                                                   
 58           This module provides access to the h    
 59           a character device node named /dev/k    
 60                                                   
 61           To compile this as a module, choose     
 62           will be called kvm.                     
 63                                                   
 64           If unsure, say N.                       
 65                                                   
 66 config KVM_WERROR                                 
 67         bool "Compile KVM with -Werror"           
 68         # Disallow KVM's -Werror if KASAN is e    
 69         # randomized configs from selecting KV    
 70         # nice with KASAN.  KASAN builds gener    
 71         # FRAME_WARN, i.e. KVM_WERROR=y with K    
 72         # Building KVM with -Werror and KASAN     
 73         # the kernel-wide WERROR=y.               
 74         depends on KVM && ((EXPERT && !KASAN)     
 75         help                                      
 76           Add -Werror to the build flags for K    
 77                                                   
 78           If in doubt, say "N".                   
 79                                                   
 80 config KVM_SW_PROTECTED_VM                        
 81         bool "Enable support for KVM software-    
 82         depends on EXPERT                         
 83         depends on KVM && X86_64                  
 84         help                                      
 85           Enable support for KVM software-prot    
 86           protected VMs are purely a developme    
 87           KVM_CREATE_GUEST_MEMFD.  Attempting     
 88           software-protected VM will fail mise    
 89                                                   
 90           If unsure, say "N".                     
 91                                                   
 92 config KVM_INTEL                                  
 93         tristate "KVM for Intel (and compatibl    
 94         depends on KVM && IA32_FEAT_CTL           
 95         help                                      
 96           Provides support for KVM on processo    
 97           extensions, a.k.a. Virtual Machine E    
 98                                                   
 99           To compile this as a module, choose     
100           will be called kvm-intel.               
101                                                   
102 config KVM_INTEL_PROVE_VE                         
103         bool "Check that guests do not receive    
104         depends on KVM_INTEL && EXPERT            
105         help                                      
106           Checks that KVM's page table managem    
107           let guests receive a virtualization     
108           exceptions will be trapped by the hy    
109           in the guest.                           
110                                                   
111           Note: some CPUs appear to generate s    
112           that trigger KVM's WARN, in particul    
113           virtualization.                         
114                                                   
115           If unsure, say N.                       
116                                                   
117 config X86_SGX_KVM                                
118         bool "Software Guard eXtensions (SGX)     
119         depends on X86_SGX && KVM_INTEL           
120         help                                      
121                                                   
122           Enables KVM guests to create SGX enc    
123                                                   
124           This includes support to expose "raw    
125           guests via a device node, e.g. /dev/    
126                                                   
127           If unsure, say N.                       
128                                                   
129 config KVM_AMD                                    
130         tristate "KVM for AMD processors suppo    
131         depends on KVM && (CPU_SUP_AMD || CPU_    
132         help                                      
133           Provides support for KVM on AMD proc    
134           (SVM) extensions.                       
135                                                   
136           To compile this as a module, choose     
137           will be called kvm-amd.                 
138                                                   
139 config KVM_AMD_SEV                                
140         bool "AMD Secure Encrypted Virtualizat    
141         default y                                 
142         depends on KVM_AMD && X86_64              
143         depends on CRYPTO_DEV_SP_PSP && !(KVM_    
144         select ARCH_HAS_CC_PLATFORM               
145         select KVM_GENERIC_PRIVATE_MEM            
146         select HAVE_KVM_ARCH_GMEM_PREPARE         
147         select HAVE_KVM_ARCH_GMEM_INVALIDATE      
148         help                                      
149           Provides support for launching encry    
150           Encrypted Virtualization (SEV), Secu    
151           Encrypted State (SEV-ES), and Secure    
152           Secure Nested Paging (SEV-SNP) techn    
153                                                   
154 config KVM_SMM                                    
155         bool "System Management Mode emulation    
156         default y                                 
157         depends on KVM                            
158         help                                      
159           Provides support for KVM to emulate     
160           in virtual machines.  This can be us    
161           firmware to implement UEFI secure bo    
162                                                   
163           If unsure, say Y.                       
164                                                   
165 config KVM_HYPERV                                 
166         bool "Support for Microsoft Hyper-V em    
167         depends on KVM                            
168         default y                                 
169         help                                      
170           Provides KVM support for emulating M    
171           to expose a subset of the paravirtua    
172           Hyper-V Hypervisor Top-Level Functio    
173           https://docs.microsoft.com/en-us/vir    
174           These interfaces are required for th    
175           of Windows and Hyper-V guests on KVM    
176                                                   
177           If unsure, say "Y".                     
178                                                   
179 config KVM_XEN                                    
180         bool "Support for Xen hypercall interf    
181         depends on KVM                            
182         help                                      
183           Provides KVM support for the hosting    
184           passing Xen hypercalls to userspace.    
185                                                   
186           If in doubt, say "N".                   
187                                                   
188 config KVM_PROVE_MMU                              
189         bool "Prove KVM MMU correctness"          
190         depends on DEBUG_KERNEL                   
191         depends on KVM                            
192         depends on EXPERT                         
193         help                                      
194           Enables runtime assertions in KVM's     
195           in anything remotely resembling a pr    
196           gates code that verifies a to-be-fre    
197           present SPTEs.                          
198                                                   
199           If in doubt, say "N".                   
200                                                   
201 config KVM_EXTERNAL_WRITE_TRACKING                
202         bool                                      
203                                                   
204 config KVM_MAX_NR_VCPUS                           
205         int "Maximum number of vCPUs per KVM g    
206         depends on KVM                            
207         range 1024 4096                           
208         default 4096 if MAXSMP                    
209         default 1024                              
210         help                                      
211           Set the maximum number of vCPUs per     
212           the memory footprint of each KVM gue    
213           created for a given VM.                 
214                                                   
215 endif # VIRTUALIZATION                            
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php