blob: 1c37ccd5d402a663eac946b21e6a2ba2e95efbaa [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
7config HAVE_KVM_IRQCHIP
8 bool
Gregory Haskins721eecbf2009-05-20 10:30:49 -04009
Paul Mackerras297e2102014-06-30 20:51:13 +100010config HAVE_KVM_IRQFD
11 bool
12
Alexander Grafa725d562013-04-17 13:29:30 +020013config HAVE_KVM_IRQ_ROUTING
14 bool
15
Gregory Haskins721eecbf2009-05-20 10:30:49 -040016config HAVE_KVM_EVENTFD
17 bool
18 select EVENTFD
Gleb Natapov73880c82009-06-09 15:56:28 +030019
Avi Kivity50eb2a32009-12-20 15:00:10 +020020config KVM_MMIO
21 bool
Gleb Natapovaf585b92010-10-14 11:22:46 +020022
23config KVM_ASYNC_PF
24 bool
Jan Kiszka07975ad2012-03-29 21:14:12 +020025
Dominik Dingele0ead412013-06-06 15:32:37 +020026# Toggle to switch between direct notification and batch job
27config KVM_ASYNC_PF_SYNC
28 bool
29
Jan Kiszka07975ad2012-03-29 21:14:12 +020030config HAVE_KVM_MSI
31 bool
Raghavendra K Tf2a74342012-07-18 19:07:32 +053032
33config HAVE_KVM_CPU_RELAX_INTERCEPT
34 bool
Alex Williamsonec535002013-10-30 11:02:17 -060035
36config KVM_VFIO
37 bool
Mario Smarducha6d51012015-01-15 15:58:52 -080038
39config HAVE_KVM_ARCH_TLB_FLUSH_ALL
40 bool
Mario Smarduchba0513b2015-01-15 15:58:53 -080041
Christian Borntraeger3491caf2016-05-13 12:16:35 +020042config HAVE_KVM_INVALID_WAKEUPS
43 bool
44
Mario Smarduchba0513b2015-01-15 15:58:53 -080045config KVM_GENERIC_DIRTYLOG_READ_PROTECT
46 bool
Christian Borntraegerde8e5d72015-02-03 09:35:15 +010047
48config KVM_COMPAT
49 def_bool y
Marc Zyngier37b65db2018-06-17 10:22:57 +010050 depends on KVM && COMPAT && !(S390 || ARM64)
Eric Auger1a02b272015-09-18 22:29:43 +080051
52config HAVE_KVM_IRQ_BYPASS
53 bool
Paolo Bonzini5cb09442017-12-12 17:41:34 +010054
55config HAVE_KVM_VCPU_ASYNC_IOCTL
56 bool
Christoffer Dallbd2a6392018-02-23 17:23:57 +010057
58config HAVE_KVM_VCPU_RUN_PID_CHANGE
59 bool
Christian Borntraegercdd6ad32019-03-05 05:30:01 -050060
61config HAVE_KVM_NO_POLL
62 bool
Thomas Gleixner935ace22020-07-22 23:59:59 +020063
64config KVM_XFER_TO_GUEST_WORK
65 bool