blob: 2e84d3922f7cd92938d0486b4fb3e4fe5e534d54 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Christian Borntraeger77b455f2008-03-25 18:47:36 +01002#
3# KVM configuration
4#
Avi Kivity0ba12d12009-05-21 16:45:19 +03005source "virt/kvm/Kconfig"
Avi Kivity5d9b8e32009-01-04 18:04:18 +02006
Christian Borntraeger77b455f2008-03-25 18:47:36 +01007menuconfig VIRTUALIZATION
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +01008 def_bool y
Jan Glauber843c48f2012-08-27 10:55:18 +02009 prompt "KVM"
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090010 help
Christian Borntraeger77b455f2008-03-25 18:47:36 +010011 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
17if VIRTUALIZATION
18
19config KVM
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +010020 def_tristate y
21 prompt "Kernel-based Virtual Machine (KVM) support"
Kees Cookb186ba62012-10-02 11:16:43 -070022 depends on HAVE_KVM
Christian Borntraeger77b455f2008-03-25 18:47:36 +010023 select PREEMPT_NOTIFIERS
Raghavendra K Tf2a74342012-07-18 19:07:32 +053024 select HAVE_KVM_CPU_RELAX_INTERCEPT
Paolo Bonzini5cb09442017-12-12 17:41:34 +010025 select HAVE_KVM_VCPU_ASYNC_IOCTL
Cornelia Huck10ccaa12013-02-28 12:33:21 +010026 select HAVE_KVM_EVENTFD
Dominik Dingel3c038e62013-10-07 17:11:48 +020027 select KVM_ASYNC_PF
28 select KVM_ASYNC_PF_SYNC
Cornelia Huck84223592013-07-15 13:36:01 +020029 select HAVE_KVM_IRQCHIP
Paul Mackerras297e2102014-06-30 20:51:13 +100030 select HAVE_KVM_IRQFD
Cornelia Huck84223592013-07-15 13:36:01 +020031 select HAVE_KVM_IRQ_ROUTING
Christian Borntraeger3491caf2016-05-13 12:16:35 +020032 select HAVE_KVM_INVALID_WAKEUPS
Christian Borntraeger8b905d22019-03-05 05:30:02 -050033 select HAVE_KVM_NO_POLL
Pranith Kumar83fe27e2014-12-05 11:24:45 -050034 select SRCU
Dong Jia Shi14b0b4a2016-01-20 06:33:42 +010035 select KVM_VFIO
Maciej S. Szmigieroed922732021-12-06 20:54:28 +010036 select INTERVAL_TREE
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090037 help
Christian Borntraeger77b455f2008-03-25 18:47:36 +010038 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 Ottee08b9632012-01-04 10:25:20 +010050config KVM_S390_UCONTROL
51 bool "Userspace controlled virtual machines"
52 depends on KVM
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090053 help
Carsten Ottee08b9632012-01-04 10:25:20 +010054 Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
55 controlled by userspace.
56
57 If unsure, say N.
58
Christian Borntraeger77b455f2008-03-25 18:47:36 +010059endif # VIRTUALIZATION