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