Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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
  16. select PREEMPT_NOTIFIERS
  17. select ANON_INODES
  18. select HAVE_KVM_EVENTFD
  19. config KVM_BOOK3S_HANDLER
  20. bool
  21. config KVM_BOOK3S_32_HANDLER
  22. bool
  23. select KVM_BOOK3S_HANDLER
  24. select KVM_MMIO
  25. config KVM_BOOK3S_64_HANDLER
  26. bool
  27. select KVM_BOOK3S_HANDLER
  28. config KVM_BOOK3S_PR
  29. bool
  30. select KVM_MMIO
  31. select MMU_NOTIFIER
  32. config KVM_BOOK3S_32
  33. tristate "KVM support for PowerPC book3s_32 processors"
  34. depends on PPC_BOOK3S_32 && !SMP && !PTE_64BIT
  35. select KVM
  36. select KVM_BOOK3S_32_HANDLER
  37. select KVM_BOOK3S_PR
  38. ---help---
  39. Support running unmodified book3s_32 guest kernels
  40. in virtual machines on book3s_32 host processors.
  41. This module provides access to the hardware capabilities through
  42. a character device node named /dev/kvm.
  43. If unsure, say N.
  44. config KVM_BOOK3S_64
  45. tristate "KVM support for PowerPC book3s_64 processors"
  46. depends on PPC_BOOK3S_64
  47. select KVM_BOOK3S_64_HANDLER
  48. select KVM
  49. ---help---
  50. Support running unmodified book3s_64 and book3s_32 guest kernels
  51. in virtual machines on book3s_64 host processors.
  52. This module provides access to the hardware capabilities through
  53. a character device node named /dev/kvm.
  54. If unsure, say N.
  55. config KVM_BOOK3S_64_HV
  56. bool "KVM support for POWER7 and PPC970 using hypervisor mode in host"
  57. depends on KVM_BOOK3S_64
  58. select MMU_NOTIFIER
  59. ---help---
  60. Support running unmodified book3s_64 guest kernels in
  61. virtual machines on POWER7 and PPC970 processors that have
  62. hypervisor mode available to the host.
  63. If you say Y here, KVM will use the hardware virtualization
  64. facilities of POWER7 (and later) processors, meaning that
  65. guest operating systems will run at full hardware speed
  66. using supervisor and user modes. However, this also means
  67. that KVM is not usable under PowerVM (pHyp), is only usable
  68. on POWER7 (or later) processors and PPC970-family processors,
  69. and cannot emulate a different processor from the host processor.
  70. If unsure, say N.
  71. config KVM_BOOK3S_64_PR
  72. def_bool y
  73. depends on KVM_BOOK3S_64 && !KVM_BOOK3S_64_HV
  74. select KVM_BOOK3S_PR
  75. config KVM_BOOKE_HV
  76. bool
  77. config KVM_440
  78. bool "KVM support for PowerPC 440 processors"
  79. depends on 44x
  80. select KVM
  81. select KVM_MMIO
  82. ---help---
  83. Support running unmodified 440 guest kernels in virtual machines on
  84. 440 host processors.
  85. This module provides access to the hardware capabilities through
  86. a character device node named /dev/kvm.
  87. If unsure, say N.
  88. config KVM_EXIT_TIMING
  89. bool "Detailed exit timing"
  90. depends on KVM_440 || KVM_E500V2 || KVM_E500MC
  91. ---help---
  92. Calculate elapsed time for every exit/enter cycle. A per-vcpu
  93. report is available in debugfs kvm/vm#_vcpu#_timing.
  94. The overhead is relatively small, however it is not recommended for
  95. production environments.
  96. If unsure, say N.
  97. config KVM_E500V2
  98. bool "KVM support for PowerPC E500v2 processors"
  99. depends on E500 && !PPC_E500MC
  100. select KVM
  101. select KVM_MMIO
  102. select MMU_NOTIFIER
  103. ---help---
  104. Support running unmodified E500 guest kernels in virtual machines on
  105. E500v2 host processors.
  106. This module provides access to the hardware capabilities through
  107. a character device node named /dev/kvm.
  108. If unsure, say N.
  109. config KVM_E500MC
  110. bool "KVM support for PowerPC E500MC/E5500 processors"
  111. depends on PPC_E500MC
  112. select KVM
  113. select KVM_MMIO
  114. select KVM_BOOKE_HV
  115. select MMU_NOTIFIER
  116. ---help---
  117. Support running unmodified E500MC/E5500 (32-bit) guest kernels in
  118. virtual machines on E500MC/E5500 host processors.
  119. This module provides access to the hardware capabilities through
  120. a character device node named /dev/kvm.
  121. If unsure, say N.
  122. source drivers/vhost/Kconfig
  123. endif # VIRTUALIZATION