rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # KVM common configuration items and defaults |
| 3 | |
| 4 | config HAVE_KVM |
| 5 | bool |
| 6 | |
| 7 | config HAVE_KVM_IRQCHIP |
| 8 | bool |
| 9 | |
| 10 | config HAVE_KVM_IRQFD |
| 11 | bool |
| 12 | |
| 13 | config HAVE_KVM_IRQ_ROUTING |
| 14 | bool |
| 15 | |
| 16 | config HAVE_KVM_EVENTFD |
| 17 | bool |
| 18 | select EVENTFD |
| 19 | |
| 20 | config KVM_MMIO |
| 21 | bool |
| 22 | |
| 23 | config KVM_ASYNC_PF |
| 24 | bool |
| 25 | |
| 26 | # Toggle to switch between direct notification and batch job |
| 27 | config KVM_ASYNC_PF_SYNC |
| 28 | bool |
| 29 | |
| 30 | config HAVE_KVM_MSI |
| 31 | bool |
| 32 | |
| 33 | config HAVE_KVM_CPU_RELAX_INTERCEPT |
| 34 | bool |
| 35 | |
| 36 | config KVM_VFIO |
| 37 | bool |
| 38 | |
| 39 | config HAVE_KVM_ARCH_TLB_FLUSH_ALL |
| 40 | bool |
| 41 | |
| 42 | config HAVE_KVM_INVALID_WAKEUPS |
| 43 | bool |
| 44 | |
| 45 | config KVM_GENERIC_DIRTYLOG_READ_PROTECT |
| 46 | bool |
| 47 | |
| 48 | config KVM_COMPAT |
| 49 | def_bool y |
| 50 | depends on KVM && COMPAT && !S390 |
| 51 | |
| 52 | config HAVE_KVM_IRQ_BYPASS |
| 53 | bool |