Kconfig 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 KVM_MMIO
  19. select KVM_ARM_HOST
  20. depends on ARM_VIRT_EXT && ARM_LPAE
  21. ---help---
  22. Support hosting virtualized guest machines. You will also
  23. need to select one or more of the processor modules below.
  24. This module provides access to the hardware capabilities through
  25. a character device node named /dev/kvm.
  26. If unsure, say N.
  27. config KVM_ARM_HOST
  28. bool "KVM host support for ARM cpus."
  29. depends on KVM
  30. depends on MMU
  31. select MMU_NOTIFIER
  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 "KVM support for Virtual GIC"
  45. depends on KVM_ARM_HOST && OF
  46. select HAVE_KVM_IRQCHIP
  47. default y
  48. ---help---
  49. Adds support for a hardware assisted, in-kernel GIC emulation.
  50. config KVM_ARM_TIMER
  51. bool "KVM support for Architected Timers"
  52. depends on KVM_ARM_VGIC && ARM_ARCH_TIMER
  53. select HAVE_KVM_IRQCHIP
  54. default y
  55. ---help---
  56. Adds support for the Architected Timers in virtual machines
  57. source drivers/virtio/Kconfig
  58. endif # VIRTUALIZATION