Kconfig 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. depends on MMU && OF
  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_GENERIC_DIRTYLOG_READ_PROTECT
  24. select SRCU
  25. select MMU_NOTIFIER
  26. select HAVE_KVM_EVENTFD
  27. select HAVE_KVM_IRQFD
  28. depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER
  29. ---help---
  30. Support hosting virtualized guest machines.
  31. This module provides access to the hardware capabilities through
  32. a character device node named /dev/kvm.
  33. If unsure, say N.
  34. config KVM_ARM_HOST
  35. bool
  36. ---help---
  37. Provides host support for ARM processors.
  38. config KVM_ARM_MAX_VCPUS
  39. int "Number maximum supported virtual CPUs per VM"
  40. depends on KVM_ARM_HOST
  41. default 4
  42. help
  43. Static number of max supported virtual CPUs per VM.
  44. If you choose a high number, the vcpu structures will be quite
  45. large, so only choose a reasonable number that you expect to
  46. actually use.
  47. endif # VIRTUALIZATION