xref: /linux/arch/s390/kvm/Kconfig (revision ff124bbbca1d3a07fa1392ffdbbdeece71f68ece)
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	select HAVE_KVM_CPU_RELAX_INTERCEPT
23	select KVM_ASYNC_PF
24	select KVM_ASYNC_PF_SYNC
25	select KVM_COMMON
26	select HAVE_KVM_IRQCHIP
27	select HAVE_KVM_IRQ_ROUTING
28	select HAVE_KVM_INVALID_WAKEUPS
29	select HAVE_KVM_NO_POLL
30	select KVM_VFIO
31	select MMU_NOTIFIER
32	select VIRT_XFER_TO_GUEST_WORK
33	select KVM_GENERIC_MMU_NOTIFIER
34	select KVM_MMU_LOCKLESS_AGING
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
48config 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
57endif # VIRTUALIZATION
58