^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) # KVM common configuration items and defaults
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) config HAVE_KVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) config HAVE_KVM_IRQCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) config HAVE_KVM_IRQFD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) config HAVE_KVM_IRQ_ROUTING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) config HAVE_KVM_EVENTFD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select EVENTFD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config KVM_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) config KVM_ASYNC_PF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) # Toggle to switch between direct notification and batch job
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) config KVM_ASYNC_PF_SYNC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) config HAVE_KVM_MSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) config HAVE_KVM_CPU_RELAX_INTERCEPT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) config KVM_VFIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config HAVE_KVM_ARCH_TLB_FLUSH_ALL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) config HAVE_KVM_INVALID_WAKEUPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) config KVM_GENERIC_DIRTYLOG_READ_PROTECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) config KVM_COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) depends on KVM && COMPAT && !(S390 || ARM64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) config HAVE_KVM_IRQ_BYPASS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) config HAVE_KVM_VCPU_ASYNC_IOCTL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) config HAVE_KVM_VCPU_RUN_PID_CHANGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) config HAVE_KVM_NO_POLL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) config KVM_XFER_TO_GUEST_WORK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) bool