Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # SPDX-License-Identifier: GPL-2.0
  2. # KVM common configuration items and defaults
  3. config HAVE_KVM
  4. bool
  5. config HAVE_KVM_PFNCACHE
  6. bool
  7. config HAVE_KVM_IRQCHIP
  8. bool
  9. config HAVE_KVM_IRQFD
  10. bool
  11. config HAVE_KVM_IRQ_ROUTING
  12. bool
  13. config HAVE_KVM_DIRTY_RING
  14. bool
  15. # Only strongly ordered architectures can select this, as it doesn't
  16. # put any explicit constraint on userspace ordering. They can also
  17. # select the _ACQ_REL version.
  18. config HAVE_KVM_DIRTY_RING_TSO
  19. bool
  20. select HAVE_KVM_DIRTY_RING
  21. depends on X86
  22. # Weakly ordered architectures can only select this, advertising
  23. # to userspace the additional ordering requirements.
  24. config HAVE_KVM_DIRTY_RING_ACQ_REL
  25. bool
  26. select HAVE_KVM_DIRTY_RING
  27. config HAVE_KVM_EVENTFD
  28. bool
  29. select EVENTFD
  30. config KVM_MMIO
  31. bool
  32. config KVM_ASYNC_PF
  33. bool
  34. # Toggle to switch between direct notification and batch job
  35. config KVM_ASYNC_PF_SYNC
  36. bool
  37. config HAVE_KVM_MSI
  38. bool
  39. config HAVE_KVM_CPU_RELAX_INTERCEPT
  40. bool
  41. config KVM_VFIO
  42. bool
  43. config HAVE_KVM_ARCH_TLB_FLUSH_ALL
  44. bool
  45. config HAVE_KVM_INVALID_WAKEUPS
  46. bool
  47. config KVM_GENERIC_DIRTYLOG_READ_PROTECT
  48. bool
  49. config KVM_COMPAT
  50. def_bool y
  51. depends on KVM && COMPAT && !(S390 || ARM64 || RISCV)
  52. config HAVE_KVM_IRQ_BYPASS
  53. bool
  54. config HAVE_KVM_VCPU_ASYNC_IOCTL
  55. bool
  56. config HAVE_KVM_VCPU_RUN_PID_CHANGE
  57. bool
  58. config HAVE_KVM_NO_POLL
  59. bool
  60. config KVM_XFER_TO_GUEST_WORK
  61. bool
  62. config HAVE_KVM_PM_NOTIFIER
  63. bool