Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #
  2. # KVM configuration
  3. #
  4. source "virt/kvm/Kconfig"
  5. menuconfig VIRTUALIZATION
  6. bool "Virtualization"
  7. depends on HAVE_KVM || X86
  8. default y
  9. ---help---
  10. Say Y here to get to see options for using your Linux host to run other
  11. operating systems inside virtual machines (guests).
  12. This option alone does not add any kernel code.
  13. If you say N, all options in this submenu will be skipped and disabled.
  14. if VIRTUALIZATION
  15. config KVM
  16. tristate "Kernel-based Virtual Machine (KVM) support"
  17. depends on HAVE_KVM
  18. depends on HIGH_RES_TIMERS
  19. # for TASKSTATS/TASK_DELAY_ACCT:
  20. depends on NET && MULTIUSER
  21. depends on X86_LOCAL_APIC
  22. select PREEMPT_NOTIFIERS
  23. select MMU_NOTIFIER
  24. select HAVE_KVM_IRQCHIP
  25. select HAVE_KVM_IRQFD
  26. select IRQ_BYPASS_MANAGER
  27. select HAVE_KVM_IRQ_BYPASS
  28. select HAVE_KVM_IRQ_ROUTING
  29. select HAVE_KVM_EVENTFD
  30. select KVM_ASYNC_PF
  31. select USER_RETURN_NOTIFIER
  32. select KVM_MMIO
  33. select TASKSTATS
  34. select TASK_DELAY_ACCT
  35. select PERF_EVENTS
  36. select HAVE_KVM_MSI
  37. select HAVE_KVM_CPU_RELAX_INTERCEPT
  38. select KVM_GENERIC_DIRTYLOG_READ_PROTECT
  39. select KVM_VFIO
  40. select SRCU
  41. ---help---
  42. Support hosting fully virtualized guest machines using hardware
  43. virtualization extensions. You will need a fairly recent
  44. processor equipped with virtualization extensions. You will also
  45. need to select one or more of the processor modules below.
  46. This module provides access to the hardware capabilities through
  47. a character device node named /dev/kvm.
  48. To compile this as a module, choose M here: the module
  49. will be called kvm.
  50. If unsure, say N.
  51. config KVM_INTEL
  52. tristate "KVM for Intel processors support"
  53. depends on KVM
  54. # for perf_guest_get_msrs():
  55. depends on CPU_SUP_INTEL
  56. ---help---
  57. Provides support for KVM on Intel processors equipped with the VT
  58. extensions.
  59. To compile this as a module, choose M here: the module
  60. will be called kvm-intel.
  61. config KVM_AMD
  62. tristate "KVM for AMD processors support"
  63. depends on KVM
  64. ---help---
  65. Provides support for KVM on AMD processors equipped with the AMD-V
  66. (SVM) extensions.
  67. To compile this as a module, choose M here: the module
  68. will be called kvm-amd.
  69. config KVM_MMU_AUDIT
  70. bool "Audit KVM MMU"
  71. depends on KVM && TRACEPOINTS
  72. ---help---
  73. This option adds a R/W kVM module parameter 'mmu_audit', which allows
  74. auditing of KVM MMU events at runtime.
  75. config KVM_DEVICE_ASSIGNMENT
  76. bool "KVM legacy PCI device assignment support (DEPRECATED)"
  77. depends on KVM && PCI && IOMMU_API
  78. default n
  79. ---help---
  80. Provide support for legacy PCI device assignment through KVM. The
  81. kernel now also supports a full featured userspace device driver
  82. framework through VFIO, which supersedes this support and provides
  83. better security.
  84. If unsure, say N.
  85. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  86. # the virtualization menu.
  87. source drivers/vhost/Kconfig
  88. source drivers/lguest/Kconfig
  89. endif # VIRTUALIZATION