Kconfig 4.0 KB

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