0001 # SPDX-License-Identifier: GPL-2.0
0002 # KVM common configuration items and defaults
0003
0004 config HAVE_KVM
0005 bool
0006
0007 config HAVE_KVM_PFNCACHE
0008 bool
0009
0010 config HAVE_KVM_IRQCHIP
0011 bool
0012
0013 config HAVE_KVM_IRQFD
0014 bool
0015
0016 config HAVE_KVM_IRQ_ROUTING
0017 bool
0018
0019 config HAVE_KVM_DIRTY_RING
0020 bool
0021
0022 config HAVE_KVM_EVENTFD
0023 bool
0024 select EVENTFD
0025
0026 config KVM_MMIO
0027 bool
0028
0029 config KVM_ASYNC_PF
0030 bool
0031
0032 # Toggle to switch between direct notification and batch job
0033 config KVM_ASYNC_PF_SYNC
0034 bool
0035
0036 config HAVE_KVM_MSI
0037 bool
0038
0039 config HAVE_KVM_CPU_RELAX_INTERCEPT
0040 bool
0041
0042 config KVM_VFIO
0043 bool
0044
0045 config HAVE_KVM_ARCH_TLB_FLUSH_ALL
0046 bool
0047
0048 config HAVE_KVM_INVALID_WAKEUPS
0049 bool
0050
0051 config KVM_GENERIC_DIRTYLOG_READ_PROTECT
0052 bool
0053
0054 config KVM_COMPAT
0055 def_bool y
0056 depends on KVM && COMPAT && !(S390 || ARM64 || RISCV)
0057
0058 config HAVE_KVM_IRQ_BYPASS
0059 bool
0060
0061 config HAVE_KVM_VCPU_ASYNC_IOCTL
0062 bool
0063
0064 config HAVE_KVM_VCPU_RUN_PID_CHANGE
0065 bool
0066
0067 config HAVE_KVM_NO_POLL
0068 bool
0069
0070 config KVM_XFER_TO_GUEST_WORK
0071 bool
0072
0073 config HAVE_KVM_PM_NOTIFIER
0074 bool