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