Kconfig 2.7 KB

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