Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 ANON_INODES
  25. select HAVE_KVM_IRQCHIP
  26. select HAVE_KVM_IRQFD
  27. select IRQ_BYPASS_MANAGER
  28. select HAVE_KVM_IRQ_BYPASS
  29. select HAVE_KVM_IRQ_ROUTING
  30. select HAVE_KVM_EVENTFD
  31. select KVM_APIC_ARCHITECTURE
  32. select KVM_ASYNC_PF
  33. select USER_RETURN_NOTIFIER
  34. select KVM_MMIO
  35. select TASKSTATS
  36. select TASK_DELAY_ACCT
  37. select PERF_EVENTS
  38. select HAVE_KVM_MSI
  39. select HAVE_KVM_CPU_RELAX_INTERCEPT
  40. select KVM_GENERIC_DIRTYLOG_READ_PROTECT
  41. select KVM_VFIO
  42. select SRCU
  43. ---help---
  44. Support hosting fully virtualized guest machines using hardware
  45. virtualization extensions. You will need a fairly recent
  46. processor equipped with virtualization extensions. You will also
  47. need to select one or more of the processor modules below.
  48. This module provides access to the hardware capabilities through
  49. a character device node named /dev/kvm.
  50. To compile this as a module, choose M here: the module
  51. will be called kvm.
  52. If unsure, say N.
  53. config KVM_INTEL
  54. tristate "KVM for Intel processors support"
  55. depends on KVM
  56. # for perf_guest_get_msrs():
  57. depends on CPU_SUP_INTEL
  58. ---help---
  59. Provides support for KVM on Intel processors equipped with the VT
  60. extensions.
  61. To compile this as a module, choose M here: the module
  62. will be called kvm-intel.
  63. config KVM_AMD
  64. tristate "KVM for AMD processors support"
  65. depends on KVM
  66. ---help---
  67. Provides support for KVM on AMD processors equipped with the AMD-V
  68. (SVM) extensions.
  69. To compile this as a module, choose M here: the module
  70. will be called kvm-amd.
  71. config KVM_MMU_AUDIT
  72. bool "Audit KVM MMU"
  73. depends on KVM && TRACEPOINTS
  74. ---help---
  75. This option adds a R/W kVM module parameter 'mmu_audit', which allows
  76. auditing of KVM MMU events at runtime.
  77. config KVM_DEVICE_ASSIGNMENT
  78. bool "KVM legacy PCI device assignment support (DEPRECATED)"
  79. depends on KVM && PCI && IOMMU_API
  80. default n
  81. ---help---
  82. Provide support for legacy PCI device assignment through KVM. The
  83. kernel now also supports a full featured userspace device driver
  84. framework through VFIO, which supersedes this support and provides
  85. better security.
  86. If unsure, say N.
  87. # OK, it's a little counter-intuitive to do this, but it puts it neatly under
  88. # the virtualization menu.
  89. source drivers/vhost/Kconfig
  90. source drivers/lguest/Kconfig
  91. endif # VIRTUALIZATION