linux/arch/x86/kvm/Kconfig
<<
>>
Prefs
   1#
   2# KVM configuration
   3#
   4
   5source "virt/kvm/Kconfig"
   6
   7menuconfig VIRTUALIZATION
   8        bool "Virtualization"
   9        depends on HAVE_KVM || X86
  10        default y
  11        ---help---
  12          Say Y here to get to see options for using your Linux host to run other
  13          operating systems inside virtual machines (guests).
  14          This option alone does not add any kernel code.
  15
  16          If you say N, all options in this submenu will be skipped and disabled.
  17
  18if VIRTUALIZATION
  19
  20config KVM
  21        tristate "Kernel-based Virtual Machine (KVM) support"
  22        depends on HAVE_KVM
  23        depends on HIGH_RES_TIMERS
  24        # for TASKSTATS/TASK_DELAY_ACCT:
  25        depends on NET
  26        select PREEMPT_NOTIFIERS
  27        select MMU_NOTIFIER
  28        select ANON_INODES
  29        select HAVE_KVM_IRQCHIP
  30        select HAVE_KVM_IRQ_ROUTING
  31        select HAVE_KVM_EVENTFD
  32        select KVM_APIC_ARCHITECTURE
  33        select KVM_ASYNC_PF
  34        select USER_RETURN_NOTIFIER
  35        select KVM_MMIO
  36        select TASKSTATS
  37        select TASK_DELAY_ACCT
  38        select PERF_EVENTS
  39        select HAVE_KVM_MSI
  40        select HAVE_KVM_CPU_RELAX_INTERCEPT
  41        ---help---
  42          Support hosting fully virtualized guest machines using hardware
  43          virtualization extensions.  You will need a fairly recent
  44          processor equipped with virtualization extensions. You will also
  45          need to select one or more of the processor modules below.
  46
  47          This module provides access to the hardware capabilities through
  48          a character device node named /dev/kvm.
  49
  50          To compile this as a module, choose M here: the module
  51          will be called kvm.
  52
  53          If unsure, say N.
  54
  55config KVM_INTEL
  56        tristate "KVM for Intel processors support"
  57        depends on KVM
  58        # for perf_guest_get_msrs():
  59        depends on CPU_SUP_INTEL
  60        ---help---
  61          Provides support for KVM on Intel processors equipped with the VT
  62          extensions.
  63
  64          To compile this as a module, choose M here: the module
  65          will be called kvm-intel.
  66
  67config KVM_AMD
  68        tristate "KVM for AMD processors support"
  69        depends on KVM
  70        ---help---
  71          Provides support for KVM on AMD processors equipped with the AMD-V
  72          (SVM) extensions.
  73
  74          To compile this as a module, choose M here: the module
  75          will be called kvm-amd.
  76
  77config KVM_MMU_AUDIT
  78        bool "Audit KVM MMU"
  79        depends on KVM && TRACEPOINTS
  80        ---help---
  81         This option adds a R/W kVM module parameter 'mmu_audit', which allows
  82         audit  KVM MMU at runtime.
  83
  84config KVM_DEVICE_ASSIGNMENT
  85        bool "KVM legacy PCI device assignment support"
  86        depends on KVM && PCI && IOMMU_API
  87        default y
  88        ---help---
  89          Provide support for legacy PCI device assignment through KVM.  The
  90          kernel now also supports a full featured userspace device driver
  91          framework through VFIO, which supersedes much of this support.
  92
  93          If unsure, say Y.
  94
  95# OK, it's a little counter-intuitive to do this, but it puts it neatly under
  96# the virtualization menu.
  97source drivers/vhost/Kconfig
  98source drivers/lguest/Kconfig
  99
 100endif # VIRTUALIZATION
 101