xref: /linux/arch/s390/kvm/Kconfig (revision c358f53871605a1a8d7ed6e544a05ea00e9c80cb)
1# SPDX-License-Identifier: GPL-2.0
2#
3# KVM configuration
4#
5source "virt/kvm/Kconfig"
6
7menuconfig VIRTUALIZATION
8	def_bool y
9	prompt "KVM"
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
17if VIRTUALIZATION
18
19config KVM
20	def_tristate y
21	prompt "Kernel-based Virtual Machine (KVM) support"
22	depends on HAVE_KVM
23	select PREEMPT_NOTIFIERS
24	select HAVE_KVM_CPU_RELAX_INTERCEPT
25	select HAVE_KVM_VCPU_ASYNC_IOCTL
26	select HAVE_KVM_EVENTFD
27	select KVM_ASYNC_PF
28	select KVM_ASYNC_PF_SYNC
29	select HAVE_KVM_IRQCHIP
30	select HAVE_KVM_IRQFD
31	select HAVE_KVM_IRQ_ROUTING
32	select HAVE_KVM_INVALID_WAKEUPS
33	select HAVE_KVM_NO_POLL
34	select SRCU
35	select KVM_VFIO
36	select INTERVAL_TREE
37	select MMU_NOTIFIER
38	help
39	  Support hosting paravirtualized guest machines using the SIE
40	  virtualization capability on the mainframe. This should work
41	  on any 64bit machine.
42
43	  This module provides access to the hardware capabilities through
44	  a character device node named /dev/kvm.
45
46	  To compile this as a module, choose M here: the module
47	  will be called kvm.
48
49	  If unsure, say N.
50
51config KVM_S390_UCONTROL
52	bool "Userspace controlled virtual machines"
53	depends on KVM
54	help
55	  Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
56	  controlled by userspace.
57
58	  If unsure, say N.
59
60endif # VIRTUALIZATION
61