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