Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 2 | # |
| 3 | # KVM configuration |
| 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 | |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 7 | menuconfig VIRTUALIZATION |
Martin Schwidefsky | 6f9a3c3 | 2011-01-05 12:47:15 +0100 | [diff] [blame] | 8 | def_bool y |
Jan Glauber | 843c48f | 2012-08-27 10:55:18 +0200 | [diff] [blame] | 9 | prompt "KVM" |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 10 | ---help--- |
| 11 | Say Y here to get to see options for using your Linux host to run other |
| 12 | operating systems inside virtual machines (guests). |
| 13 | This option alone does not add any kernel code. |
| 14 | |
| 15 | If you say N, all options in this submenu will be skipped and disabled. |
| 16 | |
| 17 | if VIRTUALIZATION |
| 18 | |
| 19 | config KVM |
Martin Schwidefsky | 6f9a3c3 | 2011-01-05 12:47:15 +0100 | [diff] [blame] | 20 | def_tristate y |
| 21 | prompt "Kernel-based Virtual Machine (KVM) support" |
Kees Cook | b186ba6 | 2012-10-02 11:16:43 -0700 | [diff] [blame] | 22 | depends on HAVE_KVM |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 23 | select PREEMPT_NOTIFIERS |
| 24 | select ANON_INODES |
Raghavendra K T | f2a7434 | 2012-07-18 19:07:32 +0530 | [diff] [blame] | 25 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
Cornelia Huck | 10ccaa1 | 2013-02-28 12:33:21 +0100 | [diff] [blame] | 26 | select HAVE_KVM_EVENTFD |
Dominik Dingel | 3c038e6 | 2013-10-07 17:11:48 +0200 | [diff] [blame] | 27 | select KVM_ASYNC_PF |
| 28 | select KVM_ASYNC_PF_SYNC |
Cornelia Huck | 8422359 | 2013-07-15 13:36:01 +0200 | [diff] [blame] | 29 | select HAVE_KVM_IRQCHIP |
Paul Mackerras | 297e210 | 2014-06-30 20:51:13 +1000 | [diff] [blame] | 30 | select HAVE_KVM_IRQFD |
Cornelia Huck | 8422359 | 2013-07-15 13:36:01 +0200 | [diff] [blame] | 31 | select HAVE_KVM_IRQ_ROUTING |
Christian Borntraeger | 3491caf | 2016-05-13 12:16:35 +0200 | [diff] [blame] | 32 | select HAVE_KVM_INVALID_WAKEUPS |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 33 | select SRCU |
Dong Jia Shi | 14b0b4a | 2016-01-20 06:33:42 +0100 | [diff] [blame] | 34 | select KVM_VFIO |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 35 | ---help--- |
| 36 | Support hosting paravirtualized guest machines using the SIE |
| 37 | virtualization capability on the mainframe. This should work |
| 38 | on any 64bit machine. |
| 39 | |
| 40 | This module provides access to the hardware capabilities through |
| 41 | a character device node named /dev/kvm. |
| 42 | |
| 43 | To compile this as a module, choose M here: the module |
| 44 | will be called kvm. |
| 45 | |
| 46 | If unsure, say N. |
| 47 | |
Carsten Otte | e08b963 | 2012-01-04 10:25:20 +0100 | [diff] [blame] | 48 | config KVM_S390_UCONTROL |
| 49 | bool "Userspace controlled virtual machines" |
| 50 | depends on KVM |
| 51 | ---help--- |
| 52 | Allow CAP_SYS_ADMIN users to create KVM virtual machines that are |
| 53 | controlled by userspace. |
| 54 | |
| 55 | If unsure, say N. |
| 56 | |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 57 | # OK, it's a little counter-intuitive to do this, but it puts it neatly under |
| 58 | # the virtualization menu. |
Michael S. Tsirkin | 3a4d5c9 | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 59 | source drivers/vhost/Kconfig |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 60 | |
| 61 | endif # VIRTUALIZATION |