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