Kconfig 2.7 KB

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