Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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 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 processors that have hypervisor
  59. 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 can only emulate
  66. POWER5+, POWER6 and POWER7 processors.
  67. This module provides access to the hardware capabilities through
  68. a character device node named /dev/kvm.
  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_440
  75. bool "KVM support for PowerPC 440 processors"
  76. depends on EXPERIMENTAL && 44x
  77. select KVM
  78. select KVM_MMIO
  79. ---help---
  80. Support running unmodified 440 guest kernels in virtual machines on
  81. 440 host processors.
  82. This module provides access to the hardware capabilities through
  83. a character device node named /dev/kvm.
  84. If unsure, say N.
  85. config KVM_EXIT_TIMING
  86. bool "Detailed exit timing"
  87. depends on KVM_440 || KVM_E500
  88. ---help---
  89. Calculate elapsed time for every exit/enter cycle. A per-vcpu
  90. report is available in debugfs kvm/vm#_vcpu#_timing.
  91. The overhead is relatively small, however it is not recommended for
  92. production environments.
  93. If unsure, say N.
  94. config KVM_E500
  95. bool "KVM support for PowerPC E500 processors"
  96. depends on EXPERIMENTAL && E500
  97. select KVM
  98. select KVM_MMIO
  99. ---help---
  100. Support running unmodified E500 guest kernels in virtual machines on
  101. E500 host processors.
  102. This module provides access to the hardware capabilities through
  103. a character device node named /dev/kvm.
  104. If unsure, say N.
  105. source drivers/vhost/Kconfig
  106. source drivers/virtio/Kconfig
  107. endif # VIRTUALIZATION