xref: /openbmc/linux/virt/kvm/Kconfig (revision 63bcf87c)
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_EVENTFD
17       bool
18       select EVENTFD
19
20config KVM_MMIO
21       bool
22
23config KVM_ASYNC_PF
24       bool
25
26# Toggle to switch between direct notification and batch job
27config KVM_ASYNC_PF_SYNC
28       bool
29
30config HAVE_KVM_MSI
31       bool
32
33config HAVE_KVM_CPU_RELAX_INTERCEPT
34       bool
35
36config KVM_VFIO
37       bool
38
39config HAVE_KVM_ARCH_TLB_FLUSH_ALL
40       bool
41
42config HAVE_KVM_INVALID_WAKEUPS
43       bool
44
45config KVM_GENERIC_DIRTYLOG_READ_PROTECT
46       bool
47
48config KVM_COMPAT
49       def_bool y
50       depends on KVM && COMPAT && !(S390 || ARM64)
51
52config HAVE_KVM_IRQ_BYPASS
53       bool
54
55config HAVE_KVM_VCPU_ASYNC_IOCTL
56       bool
57
58config HAVE_KVM_VCPU_RUN_PID_CHANGE
59       bool
60
61config HAVE_KVM_NO_POLL
62       bool
63
64config KVM_XFER_TO_GUEST_WORK
65       bool
66