Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #
  2. # KVM configuration
  3. #
  4. source "virt/kvm/Kconfig"
  5. menuconfig VIRTUALIZATION
  6. bool "Virtualization"
  7. ---help---
  8. Say Y here to get to see options for using your Linux host to run
  9. other operating systems inside virtual machines (guests).
  10. This option alone does not add any kernel code.
  11. If you say N, all options in this submenu will be skipped and
  12. disabled.
  13. if VIRTUALIZATION
  14. config KVM
  15. bool "Kernel-based Virtual Machine (KVM) support"
  16. select MMU_NOTIFIER
  17. select PREEMPT_NOTIFIERS
  18. select ANON_INODES
  19. select HAVE_KVM_CPU_RELAX_INTERCEPT
  20. select HAVE_KVM_ARCH_TLB_FLUSH_ALL
  21. select KVM_MMIO
  22. select KVM_ARM_HOST
  23. select KVM_ARM_VGIC
  24. select KVM_ARM_TIMER
  25. select KVM_GENERIC_DIRTYLOG_READ_PROTECT
  26. select SRCU
  27. ---help---
  28. Support hosting virtualized guest machines.
  29. If unsure, say N.
  30. config KVM_ARM_HOST
  31. bool
  32. ---help---
  33. Provides host support for ARM processors.
  34. config KVM_ARM_MAX_VCPUS
  35. int "Number maximum supported virtual CPUs per VM"
  36. depends on KVM_ARM_HOST
  37. default 4
  38. help
  39. Static number of max supported virtual CPUs per VM.
  40. If you choose a high number, the vcpu structures will be quite
  41. large, so only choose a reasonable number that you expect to
  42. actually use.
  43. config KVM_ARM_VGIC
  44. bool
  45. depends on KVM_ARM_HOST && OF
  46. select HAVE_KVM_IRQCHIP
  47. ---help---
  48. Adds support for a hardware assisted, in-kernel GIC emulation.
  49. config KVM_ARM_TIMER
  50. bool
  51. depends on KVM_ARM_VGIC
  52. ---help---
  53. Adds support for the Architected Timers in virtual machines.
  54. endif # VIRTUALIZATION