Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 MMU && OF
  19. select PREEMPT_NOTIFIERS
  20. select ANON_INODES
  21. select ARM_GIC
  22. select ARM_GIC_V3
  23. select ARM_GIC_V3_ITS
  24. select HAVE_KVM_CPU_RELAX_INTERCEPT
  25. select HAVE_KVM_ARCH_TLB_FLUSH_ALL
  26. select KVM_MMIO
  27. select KVM_ARM_HOST
  28. select KVM_GENERIC_DIRTYLOG_READ_PROTECT
  29. select SRCU
  30. select MMU_NOTIFIER
  31. select KVM_VFIO
  32. select HAVE_KVM_EVENTFD
  33. select HAVE_KVM_IRQFD
  34. select HAVE_KVM_IRQCHIP
  35. select HAVE_KVM_IRQ_ROUTING
  36. select HAVE_KVM_MSI
  37. select IRQ_BYPASS_MANAGER
  38. select HAVE_KVM_IRQ_BYPASS
  39. depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER
  40. ---help---
  41. Support hosting virtualized guest machines.
  42. This module provides access to the hardware capabilities through
  43. a character device node named /dev/kvm.
  44. If unsure, say N.
  45. config KVM_ARM_HOST
  46. bool
  47. ---help---
  48. Provides host support for ARM processors.
  49. source drivers/vhost/Kconfig
  50. endif # VIRTUALIZATION