Kconfig 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # KVM configuration
  4. #
  5. source "virt/kvm/Kconfig"
  6. source "virt/lib/Kconfig"
  7. menuconfig VIRTUALIZATION
  8. bool "Virtualization"
  9. ---help---
  10. Say Y here to get to see options for using your Linux host to run
  11. other operating systems inside virtual machines (guests).
  12. This option alone does not add any kernel code.
  13. If you say N, all options in this submenu will be skipped and
  14. disabled.
  15. if VIRTUALIZATION
  16. config KVM
  17. bool "Kernel-based Virtual Machine (KVM) support"
  18. depends on OF
  19. select MMU_NOTIFIER
  20. select PREEMPT_NOTIFIERS
  21. select ANON_INODES
  22. select HAVE_KVM_CPU_RELAX_INTERCEPT
  23. select HAVE_KVM_ARCH_TLB_FLUSH_ALL
  24. select KVM_MMIO
  25. select KVM_ARM_HOST
  26. select KVM_GENERIC_DIRTYLOG_READ_PROTECT
  27. select SRCU
  28. select KVM_VFIO
  29. select HAVE_KVM_EVENTFD
  30. select HAVE_KVM_IRQFD
  31. select KVM_ARM_PMU if HW_PERF_EVENTS
  32. select HAVE_KVM_MSI
  33. select HAVE_KVM_IRQCHIP
  34. select HAVE_KVM_IRQ_ROUTING
  35. select IRQ_BYPASS_MANAGER
  36. select HAVE_KVM_IRQ_BYPASS
  37. select HAVE_KVM_VCPU_RUN_PID_CHANGE
  38. ---help---
  39. Support hosting virtualized guest machines.
  40. We don't support KVM with 16K page tables yet, due to the multiple
  41. levels of fake page tables.
  42. If unsure, say N.
  43. config KVM_ARM_HOST
  44. bool
  45. ---help---
  46. Provides host support for ARM processors.
  47. config KVM_ARM_PMU
  48. bool
  49. ---help---
  50. Adds support for a virtual Performance Monitoring Unit (PMU) in
  51. virtual machines.
  52. config KVM_INDIRECT_VECTORS
  53. def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS)
  54. source drivers/vhost/Kconfig
  55. endif # VIRTUALIZATION