Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 PREEMPT_NOTIFIERS
  17. select ANON_INODES
  18. select HAVE_KVM_CPU_RELAX_INTERCEPT
  19. select KVM_MMIO
  20. select KVM_ARM_HOST
  21. depends on ARM_VIRT_EXT && ARM_LPAE
  22. ---help---
  23. Support hosting virtualized guest machines. You will also
  24. need to select one or more of the processor modules below.
  25. This module provides access to the hardware capabilities through
  26. a character device node named /dev/kvm.
  27. If unsure, say N.
  28. config KVM_ARM_HOST
  29. bool "KVM host support for ARM cpus."
  30. depends on KVM
  31. depends on MMU
  32. select MMU_NOTIFIER
  33. ---help---
  34. Provides host support for ARM processors.
  35. config KVM_ARM_MAX_VCPUS
  36. int "Number maximum supported virtual CPUs per VM"
  37. depends on KVM_ARM_HOST
  38. default 4
  39. help
  40. Static number of max supported virtual CPUs per VM.
  41. If you choose a high number, the vcpu structures will be quite
  42. large, so only choose a reasonable number that you expect to
  43. actually use.
  44. config KVM_ARM_VGIC
  45. bool "KVM support for Virtual GIC"
  46. depends on KVM_ARM_HOST && OF
  47. select HAVE_KVM_IRQCHIP
  48. default y
  49. ---help---
  50. Adds support for a hardware assisted, in-kernel GIC emulation.
  51. config KVM_ARM_TIMER
  52. bool "KVM support for Architected Timers"
  53. depends on KVM_ARM_VGIC && ARM_ARCH_TIMER
  54. select HAVE_KVM_IRQCHIP
  55. default y
  56. ---help---
  57. Adds support for the Architected Timers in virtual machines
  58. endif # VIRTUALIZATION