blob: f4834c20e4a6a2a4e0bbd86550c13cf6e20aec62 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Avi Kivity0ba12d12009-05-21 16:45:19 +03002# KVM common configuration items and defaults
3
4config HAVE_KVM
5 bool
6
David Woodhouse982ed0d2021-12-10 16:36:21 +00007config HAVE_KVM_PFNCACHE
8 bool
9
Avi Kivity0ba12d12009-05-21 16:45:19 +030010config HAVE_KVM_IRQCHIP
11 bool
Gregory Haskins721eecbf2009-05-20 10:30:49 -040012
Paul Mackerras297e2102014-06-30 20:51:13 +100013config HAVE_KVM_IRQFD
14 bool
15
Alexander Grafa725d562013-04-17 13:29:30 +020016config HAVE_KVM_IRQ_ROUTING
17 bool
18
David Woodhousedc70ec22021-11-21 12:54:40 +000019config HAVE_KVM_DIRTY_RING
20 bool
21
Gregory Haskins721eecbf2009-05-20 10:30:49 -040022config HAVE_KVM_EVENTFD
23 bool
24 select EVENTFD
Gleb Natapov73880c82009-06-09 15:56:28 +030025
Avi Kivity50eb2a32009-12-20 15:00:10 +020026config KVM_MMIO
27 bool
Gleb Natapovaf585b92010-10-14 11:22:46 +020028
29config KVM_ASYNC_PF
30 bool
Jan Kiszka07975ad2012-03-29 21:14:12 +020031
Dominik Dingele0ead412013-06-06 15:32:37 +020032# Toggle to switch between direct notification and batch job
33config KVM_ASYNC_PF_SYNC
34 bool
35
Jan Kiszka07975ad2012-03-29 21:14:12 +020036config HAVE_KVM_MSI
37 bool
Raghavendra K Tf2a74342012-07-18 19:07:32 +053038
39config HAVE_KVM_CPU_RELAX_INTERCEPT
40 bool
Alex Williamsonec535002013-10-30 11:02:17 -060041
42config KVM_VFIO
43 bool
Mario Smarducha6d51012015-01-15 15:58:52 -080044
45config HAVE_KVM_ARCH_TLB_FLUSH_ALL
46 bool
Mario Smarduchba0513b2015-01-15 15:58:53 -080047
Christian Borntraeger3491caf2016-05-13 12:16:35 +020048config HAVE_KVM_INVALID_WAKEUPS
49 bool
50
Mario Smarduchba0513b2015-01-15 15:58:53 -080051config KVM_GENERIC_DIRTYLOG_READ_PROTECT
52 bool
Christian Borntraegerde8e5d72015-02-03 09:35:15 +010053
54config KVM_COMPAT
55 def_bool y
Marc Zyngier37b65db2018-06-17 10:22:57 +010056 depends on KVM && COMPAT && !(S390 || ARM64)
Eric Auger1a02b272015-09-18 22:29:43 +080057
58config HAVE_KVM_IRQ_BYPASS
59 bool
Paolo Bonzini5cb09442017-12-12 17:41:34 +010060
61config HAVE_KVM_VCPU_ASYNC_IOCTL
62 bool
Christoffer Dallbd2a6392018-02-23 17:23:57 +010063
64config HAVE_KVM_VCPU_RUN_PID_CHANGE
65 bool
Christian Borntraegercdd6ad32019-03-05 05:30:01 -050066
67config HAVE_KVM_NO_POLL
68 bool
Thomas Gleixner935ace22020-07-22 23:59:59 +020069
70config KVM_XFER_TO_GUEST_WORK
71 bool
Sergey Senozhatsky2fdef3a2021-06-06 11:10:44 +090072
73config HAVE_KVM_PM_NOTIFIER
74 bool