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