xref: /openbmc/linux/arch/s390/kvm/Kconfig (revision 65ee8aeb)
1#
2# KVM configuration
3#
4source "virt/kvm/Kconfig"
5
6menuconfig VIRTUALIZATION
7	def_bool y
8	prompt "KVM"
9	---help---
10	  Say Y here to get to see options for using your Linux host to run other
11	  operating systems inside virtual machines (guests).
12	  This option alone does not add any kernel code.
13
14	  If you say N, all options in this submenu will be skipped and disabled.
15
16if VIRTUALIZATION
17
18config KVM
19	def_tristate y
20	prompt "Kernel-based Virtual Machine (KVM) support"
21	depends on HAVE_KVM
22	select PREEMPT_NOTIFIERS
23	select ANON_INODES
24	select HAVE_KVM_CPU_RELAX_INTERCEPT
25	select HAVE_KVM_EVENTFD
26	select KVM_ASYNC_PF
27	select KVM_ASYNC_PF_SYNC
28	select HAVE_KVM_IRQCHIP
29	select HAVE_KVM_IRQFD
30	select HAVE_KVM_IRQ_ROUTING
31	select SRCU
32	---help---
33	  Support hosting paravirtualized guest machines using the SIE
34	  virtualization capability on the mainframe. This should work
35	  on any 64bit machine.
36
37	  This module provides access to the hardware capabilities through
38	  a character device node named /dev/kvm.
39
40	  To compile this as a module, choose M here: the module
41	  will be called kvm.
42
43	  If unsure, say N.
44
45config KVM_S390_UCONTROL
46	bool "Userspace controlled virtual machines"
47	depends on KVM
48	---help---
49	  Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
50	  controlled by userspace.
51
52	  If unsure, say N.
53
54# OK, it's a little counter-intuitive to do this, but it puts it neatly under
55# the virtualization menu.
56source drivers/vhost/Kconfig
57
58endif # VIRTUALIZATION
59