xref: /linux-6.15/virt/kvm/Kconfig (revision dc70ec21)
1# SPDX-License-Identifier: GPL-2.0
2# KVM common configuration items and defaults
3
4config HAVE_KVM
5       bool
6
7config HAVE_KVM_IRQCHIP
8       bool
9
10config HAVE_KVM_IRQFD
11       bool
12
13config HAVE_KVM_IRQ_ROUTING
14       bool
15
16config HAVE_KVM_DIRTY_RING
17       bool
18
19config HAVE_KVM_EVENTFD
20       bool
21       select EVENTFD
22
23config KVM_MMIO
24       bool
25
26config KVM_ASYNC_PF
27       bool
28
29# Toggle to switch between direct notification and batch job
30config KVM_ASYNC_PF_SYNC
31       bool
32
33config HAVE_KVM_MSI
34       bool
35
36config HAVE_KVM_CPU_RELAX_INTERCEPT
37       bool
38
39config KVM_VFIO
40       bool
41
42config HAVE_KVM_ARCH_TLB_FLUSH_ALL
43       bool
44
45config HAVE_KVM_INVALID_WAKEUPS
46       bool
47
48config KVM_GENERIC_DIRTYLOG_READ_PROTECT
49       bool
50
51config KVM_COMPAT
52       def_bool y
53       depends on KVM && COMPAT && !(S390 || ARM64)
54
55config HAVE_KVM_IRQ_BYPASS
56       bool
57
58config HAVE_KVM_VCPU_ASYNC_IOCTL
59       bool
60
61config HAVE_KVM_VCPU_RUN_PID_CHANGE
62       bool
63
64config HAVE_KVM_NO_POLL
65       bool
66
67config KVM_XFER_TO_GUEST_WORK
68       bool
69
70config HAVE_KVM_PM_NOTIFIER
71       bool
72