dm: dm-zoned: use __bio_add_page for adding single metadata page
[linux-block.git] / virt / kvm / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
0ba12d10
AK
2# KVM common configuration items and defaults
3
4config HAVE_KVM
5 bool
6
982ed0de
DW
7config HAVE_KVM_PFNCACHE
8 bool
9
0ba12d10
AK
10config HAVE_KVM_IRQCHIP
11 bool
721eecbf 12
297e2105
PM
13config HAVE_KVM_IRQFD
14 bool
15
a725d56a
AG
16config HAVE_KVM_IRQ_ROUTING
17 bool
18
dc70ec21
DW
19config HAVE_KVM_DIRTY_RING
20 bool
21
17601bfe
MZ
22# Only strongly ordered architectures can select this, as it doesn't
23# put any explicit constraint on userspace ordering. They can also
24# select the _ACQ_REL version.
25config HAVE_KVM_DIRTY_RING_TSO
26 bool
27 select HAVE_KVM_DIRTY_RING
28 depends on X86
29
30# Weakly ordered architectures can only select this, advertising
31# to userspace the additional ordering requirements.
32config HAVE_KVM_DIRTY_RING_ACQ_REL
33 bool
34 select HAVE_KVM_DIRTY_RING
35
86bdf3eb
GS
36# Allow enabling both the dirty bitmap and dirty ring. Only architectures
37# that need to dirty memory outside of a vCPU context should select this.
38config NEED_KVM_DIRTY_RING_WITH_BITMAP
39 bool
40 depends on HAVE_KVM_DIRTY_RING
41
721eecbf
GH
42config HAVE_KVM_EVENTFD
43 bool
44 select EVENTFD
73880c80 45
50eb2a3c
AK
46config KVM_MMIO
47 bool
af585b92
GN
48
49config KVM_ASYNC_PF
50 bool
07975ad3 51
e0ead41a
DD
52# Toggle to switch between direct notification and batch job
53config KVM_ASYNC_PF_SYNC
54 bool
55
07975ad3
JK
56config HAVE_KVM_MSI
57 bool
f2a74347
R
58
59config HAVE_KVM_CPU_RELAX_INTERCEPT
60 bool
ec53500f
AW
61
62config KVM_VFIO
63 bool
a6d51016
MS
64
65config HAVE_KVM_ARCH_TLB_FLUSH_ALL
66 bool
ba0513b5 67
3491caf2
CB
68config HAVE_KVM_INVALID_WAKEUPS
69 bool
70
ba0513b5
MS
71config KVM_GENERIC_DIRTYLOG_READ_PROTECT
72 bool
de8e5d74
CB
73
74config KVM_COMPAT
75 def_bool y
afec0c65 76 depends on KVM && COMPAT && !(S390 || ARM64 || RISCV)
1a02b270
EA
77
78config HAVE_KVM_IRQ_BYPASS
79 bool
5cb0944c
PB
80
81config HAVE_KVM_VCPU_ASYNC_IOCTL
82 bool
bd2a6394
CD
83
84config HAVE_KVM_VCPU_RUN_PID_CHANGE
85 bool
cdd6ad3a
CB
86
87config HAVE_KVM_NO_POLL
88 bool
935ace2f
TG
89
90config KVM_XFER_TO_GUEST_WORK
91 bool
2fdef3a2
SS
92
93config HAVE_KVM_PM_NOTIFIER
94 bool
441f7bfa
SC
95
96config KVM_GENERIC_HARDWARE_ENABLING
97 bool