18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci# KVM common configuration items and defaults
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciconfig HAVE_KVM
58c2ecf20Sopenharmony_ci       bool
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciconfig HAVE_KVM_IRQCHIP
88c2ecf20Sopenharmony_ci       bool
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciconfig HAVE_KVM_IRQFD
118c2ecf20Sopenharmony_ci       bool
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciconfig HAVE_KVM_IRQ_ROUTING
148c2ecf20Sopenharmony_ci       bool
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig HAVE_KVM_EVENTFD
178c2ecf20Sopenharmony_ci       bool
188c2ecf20Sopenharmony_ci       select EVENTFD
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig KVM_MMIO
218c2ecf20Sopenharmony_ci       bool
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig KVM_ASYNC_PF
248c2ecf20Sopenharmony_ci       bool
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci# Toggle to switch between direct notification and batch job
278c2ecf20Sopenharmony_ciconfig KVM_ASYNC_PF_SYNC
288c2ecf20Sopenharmony_ci       bool
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig HAVE_KVM_MSI
318c2ecf20Sopenharmony_ci       bool
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciconfig HAVE_KVM_CPU_RELAX_INTERCEPT
348c2ecf20Sopenharmony_ci       bool
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig KVM_VFIO
378c2ecf20Sopenharmony_ci       bool
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig HAVE_KVM_ARCH_TLB_FLUSH_ALL
408c2ecf20Sopenharmony_ci       bool
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciconfig HAVE_KVM_INVALID_WAKEUPS
438c2ecf20Sopenharmony_ci       bool
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig KVM_GENERIC_DIRTYLOG_READ_PROTECT
468c2ecf20Sopenharmony_ci       bool
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciconfig KVM_COMPAT
498c2ecf20Sopenharmony_ci       def_bool y
508c2ecf20Sopenharmony_ci       depends on KVM && COMPAT && !(S390 || ARM64)
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig HAVE_KVM_IRQ_BYPASS
538c2ecf20Sopenharmony_ci       bool
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciconfig HAVE_KVM_VCPU_ASYNC_IOCTL
568c2ecf20Sopenharmony_ci       bool
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig HAVE_KVM_VCPU_RUN_PID_CHANGE
598c2ecf20Sopenharmony_ci       bool
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig HAVE_KVM_NO_POLL
628c2ecf20Sopenharmony_ci       bool
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ciconfig KVM_XFER_TO_GUEST_WORK
658c2ecf20Sopenharmony_ci       bool
66