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" |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 10 | help |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 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 |
Raghavendra K T | f2a7434 | 2012-07-18 19:07:32 +0530 | [diff] [blame] | 24 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
Paolo Bonzini | 5cb0944 | 2017-12-12 17:41:34 +0100 | [diff] [blame] | 25 | select HAVE_KVM_VCPU_ASYNC_IOCTL |
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 |
Christian Borntraeger | 8b905d2 | 2019-03-05 05:30:02 -0500 | [diff] [blame] | 33 | select HAVE_KVM_NO_POLL |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 34 | select SRCU |
Dong Jia Shi | 14b0b4a | 2016-01-20 06:33:42 +0100 | [diff] [blame] | 35 | select KVM_VFIO |
Maciej S. Szmigiero | ed92273 | 2021-12-06 20:54:28 +0100 | [diff] [blame] | 36 | select INTERVAL_TREE |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 37 | help |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 38 | Support hosting paravirtualized guest machines using the SIE |
| 39 | virtualization capability on the mainframe. This should work |
| 40 | on any 64bit machine. |
| 41 | |
| 42 | This module provides access to the hardware capabilities through |
| 43 | a character device node named /dev/kvm. |
| 44 | |
| 45 | To compile this as a module, choose M here: the module |
| 46 | will be called kvm. |
| 47 | |
| 48 | If unsure, say N. |
| 49 | |
Carsten Otte | e08b963 | 2012-01-04 10:25:20 +0100 | [diff] [blame] | 50 | config KVM_S390_UCONTROL |
| 51 | bool "Userspace controlled virtual machines" |
| 52 | depends on KVM |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 53 | help |
Carsten Otte | e08b963 | 2012-01-04 10:25:20 +0100 | [diff] [blame] | 54 | Allow CAP_SYS_ADMIN users to create KVM virtual machines that are |
| 55 | controlled by userspace. |
| 56 | |
| 57 | If unsure, say N. |
| 58 | |
Christian Borntraeger | 77b455f | 2008-03-25 18:47:36 +0100 | [diff] [blame] | 59 | endif # VIRTUALIZATION |