Kconfig 1.4 KB

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