1 # SPDX-License-Identifier: GPL-2.0
2 # KVM common configuration items and defaults
4 config HAVE_KVM
5 bool
7 config HAVE_KVM_IRQCHIP
8 bool
10 config HAVE_KVM_IRQFD
11 bool
13 config HAVE_KVM_IRQ_ROUTING
14 bool
16 config HAVE_KVM_EVENTFD
17 bool
18 select EVENTFD
20 config KVM_MMIO
21 bool
23 config KVM_ASYNC_PF
24 bool
26 # Toggle to switch between direct notification and batch job
27 config KVM_ASYNC_PF_SYNC
28 bool
30 config HAVE_KVM_MSI
31 bool
33 config HAVE_KVM_CPU_RELAX_INTERCEPT
34 bool
36 config KVM_VFIO
37 bool
39 config HAVE_KVM_ARCH_TLB_FLUSH_ALL
40 bool
42 config HAVE_KVM_INVALID_WAKEUPS
43 bool
45 config KVM_GENERIC_DIRTYLOG_READ_PROTECT
46 bool
48 config KVM_COMPAT
49 def_bool y
50 depends on KVM && COMPAT && !(S390 || ARM64)
52 config HAVE_KVM_IRQ_BYPASS
53 bool
55 config HAVE_KVM_VCPU_ASYNC_IOCTL
56 bool
58 config HAVE_KVM_VCPU_RUN_PID_CHANGE
59 bool