Kconfig 3.5 KB

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