Kconfig 3.5 KB

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