1edf88417SAvi Kivity# 2edf88417SAvi Kivity# KVM configuration 3edf88417SAvi Kivity# 4edf88417SAvi Kivity 50ba12d10SAvi Kivitysource "virt/kvm/Kconfig" 65d9b8e30SAvi Kivity 7edf88417SAvi Kivitymenuconfig VIRTUALIZATION 8edf88417SAvi Kivity bool "Virtualization" 9edf88417SAvi Kivity depends on HAVE_KVM || X86 10edf88417SAvi Kivity default y 11edf88417SAvi Kivity ---help--- 12edf88417SAvi Kivity Say Y here to get to see options for using your Linux host to run other 13edf88417SAvi Kivity operating systems inside virtual machines (guests). 14edf88417SAvi Kivity This option alone does not add any kernel code. 15edf88417SAvi Kivity 16edf88417SAvi Kivity If you say N, all options in this submenu will be skipped and disabled. 17edf88417SAvi Kivity 18edf88417SAvi Kivityif VIRTUALIZATION 19edf88417SAvi Kivity 20edf88417SAvi Kivityconfig KVM 21edf88417SAvi Kivity tristate "Kernel-based Virtual Machine (KVM) support" 22268fe02aSAvi Kivity depends on HAVE_KVM 23ca93e992SAvi Kivity # for device assignment: 24ca93e992SAvi Kivity depends on PCI 25df3d8ae1SRandy Dunlap # for TASKSTATS/TASK_DELAY_ACCT: 26df3d8ae1SRandy Dunlap depends on NET 27edf88417SAvi Kivity select PREEMPT_NOTIFIERS 28cddb8a5cSAndrea Arcangeli select MMU_NOTIFIER 29edf88417SAvi Kivity select ANON_INODES 300ba12d10SAvi Kivity select HAVE_KVM_IRQCHIP 31721eecbfSGregory Haskins select HAVE_KVM_EVENTFD 3273880c80SGleb Natapov select KVM_APIC_ARCHITECTURE 33af585b92SGleb Natapov select KVM_ASYNC_PF 3418863bddSAvi Kivity select USER_RETURN_NOTIFIER 3550eb2a3cSAvi Kivity select KVM_MMIO 36fd079facSRandy Dunlap select TASKSTATS 37c9aaa895SGlauber Costa select TASK_DELAY_ACCT 38f5132b01SGleb Natapov select PERF_EVENTS 3907975ad3SJan Kiszka select HAVE_KVM_MSI 40*f2a74347SRaghavendra K T select HAVE_KVM_CPU_RELAX_INTERCEPT 41edf88417SAvi Kivity ---help--- 42edf88417SAvi Kivity Support hosting fully virtualized guest machines using hardware 43edf88417SAvi Kivity virtualization extensions. You will need a fairly recent 44edf88417SAvi Kivity processor equipped with virtualization extensions. You will also 45edf88417SAvi Kivity need to select one or more of the processor modules below. 46edf88417SAvi Kivity 47edf88417SAvi Kivity This module provides access to the hardware capabilities through 48edf88417SAvi Kivity a character device node named /dev/kvm. 49edf88417SAvi Kivity 50edf88417SAvi Kivity To compile this as a module, choose M here: the module 51edf88417SAvi Kivity will be called kvm. 52edf88417SAvi Kivity 53edf88417SAvi Kivity If unsure, say N. 54edf88417SAvi Kivity 55edf88417SAvi Kivityconfig KVM_INTEL 56edf88417SAvi Kivity tristate "KVM for Intel processors support" 57edf88417SAvi Kivity depends on KVM 5843771ebfSAvi Kivity # for perf_guest_get_msrs(): 5943771ebfSAvi Kivity depends on CPU_SUP_INTEL 60edf88417SAvi Kivity ---help--- 61edf88417SAvi Kivity Provides support for KVM on Intel processors equipped with the VT 62edf88417SAvi Kivity extensions. 63edf88417SAvi Kivity 6458f8ac27SRobert P. J. Day To compile this as a module, choose M here: the module 6558f8ac27SRobert P. J. Day will be called kvm-intel. 6658f8ac27SRobert P. J. Day 67edf88417SAvi Kivityconfig KVM_AMD 68edf88417SAvi Kivity tristate "KVM for AMD processors support" 69edf88417SAvi Kivity depends on KVM 70edf88417SAvi Kivity ---help--- 71edf88417SAvi Kivity Provides support for KVM on AMD processors equipped with the AMD-V 72edf88417SAvi Kivity (SVM) extensions. 73edf88417SAvi Kivity 7458f8ac27SRobert P. J. Day To compile this as a module, choose M here: the module 7558f8ac27SRobert P. J. Day will be called kvm-amd. 7658f8ac27SRobert P. J. Day 778b1fe17cSXiao Guangrongconfig KVM_MMU_AUDIT 788b1fe17cSXiao Guangrong bool "Audit KVM MMU" 798b1fe17cSXiao Guangrong depends on KVM && TRACEPOINTS 808b1fe17cSXiao Guangrong ---help--- 818b1fe17cSXiao Guangrong This option adds a R/W kVM module parameter 'mmu_audit', which allows 828b1fe17cSXiao Guangrong audit KVM MMU at runtime. 838b1fe17cSXiao Guangrong 84edf88417SAvi Kivity# OK, it's a little counter-intuitive to do this, but it puts it neatly under 85edf88417SAvi Kivity# the virtualization menu. 863a4d5c94SMichael S. Tsirkinsource drivers/vhost/Kconfig 87edf88417SAvi Kivitysource drivers/lguest/Kconfig 88edf88417SAvi Kivity 89edf88417SAvi Kivityendif # VIRTUALIZATION 90