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