Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 OF
  17. select MMU_NOTIFIER
  18. select PREEMPT_NOTIFIERS
  19. select ANON_INODES
  20. select HAVE_KVM_CPU_RELAX_INTERCEPT
  21. select HAVE_KVM_ARCH_TLB_FLUSH_ALL
  22. select KVM_MMIO
  23. select KVM_ARM_HOST
  24. select KVM_GENERIC_DIRTYLOG_READ_PROTECT
  25. select SRCU
  26. select KVM_VFIO
  27. select HAVE_KVM_EVENTFD
  28. select HAVE_KVM_IRQFD
  29. ---help---
  30. Support hosting virtualized guest machines.
  31. If unsure, say N.
  32. config KVM_ARM_HOST
  33. bool
  34. ---help---
  35. Provides host support for ARM processors.
  36. config KVM_ARM_MAX_VCPUS
  37. int "Number maximum supported virtual CPUs per VM"
  38. depends on KVM_ARM_HOST
  39. default 4
  40. help
  41. Static number of max supported virtual CPUs per VM.
  42. If you choose a high number, the vcpu structures will be quite
  43. large, so only choose a reasonable number that you expect to
  44. actually use.
  45. endif # VIRTUALIZATION