Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Avi Kivity | 0ba12d1 | 2009-05-21 16:45:19 +0300 | [diff] [blame] | 2 | # KVM common configuration items and defaults |
3 | |||||
4 | config HAVE_KVM | ||||
5 | bool | ||||
6 | |||||
David Woodhouse | 982ed0d | 2021-12-10 16:36:21 +0000 | [diff] [blame] | 7 | config HAVE_KVM_PFNCACHE |
8 | bool | ||||
9 | |||||
Avi Kivity | 0ba12d1 | 2009-05-21 16:45:19 +0300 | [diff] [blame] | 10 | config HAVE_KVM_IRQCHIP |
11 | bool | ||||
Gregory Haskins | 721eecbf | 2009-05-20 10:30:49 -0400 | [diff] [blame] | 12 | |
Paul Mackerras | 297e210 | 2014-06-30 20:51:13 +1000 | [diff] [blame] | 13 | config HAVE_KVM_IRQFD |
14 | bool | ||||
15 | |||||
Alexander Graf | a725d56 | 2013-04-17 13:29:30 +0200 | [diff] [blame] | 16 | config HAVE_KVM_IRQ_ROUTING |
17 | bool | ||||
18 | |||||
David Woodhouse | dc70ec2 | 2021-11-21 12:54:40 +0000 | [diff] [blame] | 19 | config HAVE_KVM_DIRTY_RING |
20 | bool | ||||
21 | |||||
Gregory Haskins | 721eecbf | 2009-05-20 10:30:49 -0400 | [diff] [blame] | 22 | config HAVE_KVM_EVENTFD |
23 | bool | ||||
24 | select EVENTFD | ||||
Gleb Natapov | 73880c8 | 2009-06-09 15:56:28 +0300 | [diff] [blame] | 25 | |
Avi Kivity | 50eb2a3 | 2009-12-20 15:00:10 +0200 | [diff] [blame] | 26 | config KVM_MMIO |
27 | bool | ||||
Gleb Natapov | af585b9 | 2010-10-14 11:22:46 +0200 | [diff] [blame] | 28 | |
29 | config KVM_ASYNC_PF | ||||
30 | bool | ||||
Jan Kiszka | 07975ad | 2012-03-29 21:14:12 +0200 | [diff] [blame] | 31 | |
Dominik Dingel | e0ead41 | 2013-06-06 15:32:37 +0200 | [diff] [blame] | 32 | # Toggle to switch between direct notification and batch job |
33 | config KVM_ASYNC_PF_SYNC | ||||
34 | bool | ||||
35 | |||||
Jan Kiszka | 07975ad | 2012-03-29 21:14:12 +0200 | [diff] [blame] | 36 | config HAVE_KVM_MSI |
37 | bool | ||||
Raghavendra K T | f2a7434 | 2012-07-18 19:07:32 +0530 | [diff] [blame] | 38 | |
39 | config HAVE_KVM_CPU_RELAX_INTERCEPT | ||||
40 | bool | ||||
Alex Williamson | ec53500 | 2013-10-30 11:02:17 -0600 | [diff] [blame] | 41 | |
42 | config KVM_VFIO | ||||
43 | bool | ||||
Mario Smarduch | a6d5101 | 2015-01-15 15:58:52 -0800 | [diff] [blame] | 44 | |
45 | config HAVE_KVM_ARCH_TLB_FLUSH_ALL | ||||
46 | bool | ||||
Mario Smarduch | ba0513b | 2015-01-15 15:58:53 -0800 | [diff] [blame] | 47 | |
Christian Borntraeger | 3491caf | 2016-05-13 12:16:35 +0200 | [diff] [blame] | 48 | config HAVE_KVM_INVALID_WAKEUPS |
49 | bool | ||||
50 | |||||
Mario Smarduch | ba0513b | 2015-01-15 15:58:53 -0800 | [diff] [blame] | 51 | config KVM_GENERIC_DIRTYLOG_READ_PROTECT |
52 | bool | ||||
Christian Borntraeger | de8e5d7 | 2015-02-03 09:35:15 +0100 | [diff] [blame] | 53 | |
54 | config KVM_COMPAT | ||||
55 | def_bool y | ||||
Marc Zyngier | 37b65db | 2018-06-17 10:22:57 +0100 | [diff] [blame] | 56 | depends on KVM && COMPAT && !(S390 || ARM64) |
Eric Auger | 1a02b27 | 2015-09-18 22:29:43 +0800 | [diff] [blame] | 57 | |
58 | config HAVE_KVM_IRQ_BYPASS | ||||
59 | bool | ||||
Paolo Bonzini | 5cb0944 | 2017-12-12 17:41:34 +0100 | [diff] [blame] | 60 | |
61 | config HAVE_KVM_VCPU_ASYNC_IOCTL | ||||
62 | bool | ||||
Christoffer Dall | bd2a639 | 2018-02-23 17:23:57 +0100 | [diff] [blame] | 63 | |
64 | config HAVE_KVM_VCPU_RUN_PID_CHANGE | ||||
65 | bool | ||||
Christian Borntraeger | cdd6ad3 | 2019-03-05 05:30:01 -0500 | [diff] [blame] | 66 | |
67 | config HAVE_KVM_NO_POLL | ||||
68 | bool | ||||
Thomas Gleixner | 935ace2 | 2020-07-22 23:59:59 +0200 | [diff] [blame] | 69 | |
70 | config KVM_XFER_TO_GUEST_WORK | ||||
71 | bool | ||||
Sergey Senozhatsky | 2fdef3a | 2021-06-06 11:10:44 +0900 | [diff] [blame] | 72 | |
73 | config HAVE_KVM_PM_NOTIFIER | ||||
74 | bool |