Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 KVM_MMIO
  21. select KVM_ARM_HOST
  22. select KVM_ARM_VGIC
  23. select KVM_ARM_TIMER
  24. ---help---
  25. Support hosting virtualized guest machines.
  26. If unsure, say N.
  27. config KVM_ARM_HOST
  28. bool
  29. ---help---
  30. Provides host support for ARM processors.
  31. config KVM_ARM_MAX_VCPUS
  32. int "Number maximum supported virtual CPUs per VM"
  33. depends on KVM_ARM_HOST
  34. default 4
  35. help
  36. Static number of max supported virtual CPUs per VM.
  37. If you choose a high number, the vcpu structures will be quite
  38. large, so only choose a reasonable number that you expect to
  39. actually use.
  40. config KVM_ARM_VGIC
  41. bool
  42. depends on KVM_ARM_HOST && OF
  43. select HAVE_KVM_IRQCHIP
  44. ---help---
  45. Adds support for a hardware assisted, in-kernel GIC emulation.
  46. config KVM_ARM_TIMER
  47. bool
  48. depends on KVM_ARM_VGIC
  49. ---help---
  50. Adds support for the Architected Timers in virtual machines.
  51. endif # VIRTUALIZATION