Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -0800 | [diff] [blame] | 1 | # |
| 2 | # KVM configuration |
| 3 | # |
Avi Kivity | fb56dbb | 2007-12-02 10:50:06 +0200 | [diff] [blame] | 4 | |
Avi Kivity | 0ba12d1 | 2009-05-21 16:45:19 +0300 | [diff] [blame] | 5 | source "virt/kvm/Kconfig" |
Avi Kivity | 5d9b8e3 | 2009-01-04 18:04:18 +0200 | [diff] [blame] | 6 | |
Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 7 | menuconfig VIRTUALIZATION |
| 8 | bool "Virtualization" |
Avi Kivity | fb56dbb | 2007-12-02 10:50:06 +0200 | [diff] [blame] | 9 | depends on HAVE_KVM || X86 |
Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 10 | default y |
Jan Engelhardt | 06bfb7e | 2007-08-18 12:56:21 +0200 | [diff] [blame] | 11 | ---help--- |
Avi Kivity | 36a74097 | 2007-09-22 14:43:45 +0200 | [diff] [blame] | 12 | Say Y here to get to see options for using your Linux host to run other |
| 13 | operating systems inside virtual machines (guests). |
Jan Engelhardt | 06bfb7e | 2007-08-18 12:56:21 +0200 | [diff] [blame] | 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. |
Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 17 | |
| 18 | if VIRTUALIZATION |
Avi Kivity | fd24dc4 | 2006-12-13 00:33:44 -0800 | [diff] [blame] | 19 | |
Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -0800 | [diff] [blame] | 20 | config KVM |
| 21 | tristate "Kernel-based Virtual Machine (KVM) support" |
Avi Kivity | 268fe02 | 2008-03-23 18:36:30 +0200 | [diff] [blame] | 22 | depends on HAVE_KVM |
Liu, Jinsong | 92b5265 | 2012-09-10 06:55:39 +0800 | [diff] [blame] | 23 | depends on HIGH_RES_TIMERS |
Randy Dunlap | df3d8ae | 2011-08-02 12:54:31 -0700 | [diff] [blame] | 24 | # for TASKSTATS/TASK_DELAY_ACCT: |
Arnd Bergmann | c2ce3f5 | 2017-07-19 14:53:04 +0200 | [diff] [blame] | 25 | depends on NET && MULTIUSER |
Arnd Bergmann | e42eef4 | 2017-10-04 12:28:18 +0200 | [diff] [blame^] | 26 | depends on X86_LOCAL_APIC |
Avi Kivity | 15ad714 | 2007-07-11 18:17:21 +0300 | [diff] [blame] | 27 | select PREEMPT_NOTIFIERS |
Andrea Arcangeli | cddb8a5 | 2008-07-28 15:46:29 -0700 | [diff] [blame] | 28 | select MMU_NOTIFIER |
Avi Kivity | 7766879 | 2007-07-22 12:40:30 +0300 | [diff] [blame] | 29 | select ANON_INODES |
Avi Kivity | 0ba12d1 | 2009-05-21 16:45:19 +0300 | [diff] [blame] | 30 | select HAVE_KVM_IRQCHIP |
Paul Mackerras | 297e210 | 2014-06-30 20:51:13 +1000 | [diff] [blame] | 31 | select HAVE_KVM_IRQFD |
Feng Wu | 8727688 | 2015-09-18 22:29:40 +0800 | [diff] [blame] | 32 | select IRQ_BYPASS_MANAGER |
| 33 | select HAVE_KVM_IRQ_BYPASS |
Alexander Graf | a725d56 | 2013-04-17 13:29:30 +0200 | [diff] [blame] | 34 | select HAVE_KVM_IRQ_ROUTING |
Gregory Haskins | 721eecbf | 2009-05-20 10:30:49 -0400 | [diff] [blame] | 35 | select HAVE_KVM_EVENTFD |
Gleb Natapov | af585b9 | 2010-10-14 11:22:46 +0200 | [diff] [blame] | 36 | select KVM_ASYNC_PF |
Avi Kivity | 18863bd | 2009-09-07 11:12:18 +0300 | [diff] [blame] | 37 | select USER_RETURN_NOTIFIER |
Avi Kivity | 50eb2a3 | 2009-12-20 15:00:10 +0200 | [diff] [blame] | 38 | select KVM_MMIO |
Randy Dunlap | fd079fa | 2011-07-25 11:01:09 -0700 | [diff] [blame] | 39 | select TASKSTATS |
Glauber Costa | c9aaa89 | 2011-07-11 15:28:14 -0400 | [diff] [blame] | 40 | select TASK_DELAY_ACCT |
Gleb Natapov | f5132b0 | 2011-11-10 14:57:22 +0200 | [diff] [blame] | 41 | select PERF_EVENTS |
Jan Kiszka | 07975ad | 2012-03-29 21:14:12 +0200 | [diff] [blame] | 42 | select HAVE_KVM_MSI |
Raghavendra K T | f2a7434 | 2012-07-18 19:07:32 +0530 | [diff] [blame] | 43 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
Paolo Bonzini | e108ff2 | 2015-01-15 15:58:54 -0800 | [diff] [blame] | 44 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
Alex Williamson | ec53500 | 2013-10-30 11:02:17 -0600 | [diff] [blame] | 45 | select KVM_VFIO |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 46 | select SRCU |
Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -0800 | [diff] [blame] | 47 | ---help--- |
| 48 | Support hosting fully virtualized guest machines using hardware |
| 49 | virtualization extensions. You will need a fairly recent |
| 50 | processor equipped with virtualization extensions. You will also |
| 51 | need to select one or more of the processor modules below. |
| 52 | |
| 53 | This module provides access to the hardware capabilities through |
| 54 | a character device node named /dev/kvm. |
| 55 | |
| 56 | To compile this as a module, choose M here: the module |
| 57 | will be called kvm. |
| 58 | |
| 59 | If unsure, say N. |
| 60 | |
| 61 | config KVM_INTEL |
| 62 | tristate "KVM for Intel processors support" |
| 63 | depends on KVM |
Avi Kivity | 43771eb | 2011-12-14 12:27:47 +0200 | [diff] [blame] | 64 | # for perf_guest_get_msrs(): |
| 65 | depends on CPU_SUP_INTEL |
Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -0800 | [diff] [blame] | 66 | ---help--- |
| 67 | Provides support for KVM on Intel processors equipped with the VT |
| 68 | extensions. |
| 69 | |
Robert P. J. Day | 58f8ac2 | 2009-05-12 13:44:06 -0700 | [diff] [blame] | 70 | To compile this as a module, choose M here: the module |
| 71 | will be called kvm-intel. |
| 72 | |
Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -0800 | [diff] [blame] | 73 | config KVM_AMD |
| 74 | tristate "KVM for AMD processors support" |
| 75 | depends on KVM |
| 76 | ---help--- |
| 77 | Provides support for KVM on AMD processors equipped with the AMD-V |
| 78 | (SVM) extensions. |
Avi Kivity | fd24dc4 | 2006-12-13 00:33:44 -0800 | [diff] [blame] | 79 | |
Robert P. J. Day | 58f8ac2 | 2009-05-12 13:44:06 -0700 | [diff] [blame] | 80 | To compile this as a module, choose M here: the module |
| 81 | will be called kvm-amd. |
| 82 | |
Xiao Guangrong | 8b1fe17 | 2010-08-30 18:22:53 +0800 | [diff] [blame] | 83 | config KVM_MMU_AUDIT |
| 84 | bool "Audit KVM MMU" |
| 85 | depends on KVM && TRACEPOINTS |
| 86 | ---help--- |
| 87 | This option adds a R/W kVM module parameter 'mmu_audit', which allows |
Randy Dunlap | 9449162 | 2014-01-17 18:02:38 -0800 | [diff] [blame] | 88 | auditing of KVM MMU events at runtime. |
Xiao Guangrong | 8b1fe17 | 2010-08-30 18:22:53 +0800 | [diff] [blame] | 89 | |
Rusty Russell | 9525ca0 | 2007-10-22 10:55:43 +1000 | [diff] [blame] | 90 | # OK, it's a little counter-intuitive to do this, but it puts it neatly under |
| 91 | # the virtualization menu. |
Michael S. Tsirkin | 3a4d5c9 | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 92 | source drivers/vhost/Kconfig |
Rusty Russell | 9525ca0 | 2007-10-22 10:55:43 +1000 | [diff] [blame] | 93 | |
Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 94 | endif # VIRTUALIZATION |