Loading...
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 HAVE_KVM_VCPU_ASYNC_IOCTL
24 select KVM_ASYNC_PF
25 select KVM_ASYNC_PF_SYNC
26 select KVM_COMMON
27 select HAVE_KVM_IRQCHIP
28 select HAVE_KVM_IRQ_ROUTING
29 select HAVE_KVM_INVALID_WAKEUPS
30 select HAVE_KVM_NO_POLL
31 select KVM_VFIO
32 select MMU_NOTIFIER
33 help
34 Support hosting paravirtualized guest machines using the SIE
35 virtualization capability on the mainframe. This should work
36 on any 64bit machine.
37
38 This module provides access to the hardware capabilities through
39 a character device node named /dev/kvm.
40
41 To compile this as a module, choose M here: the module
42 will be called kvm.
43
44 If unsure, say N.
45
46config KVM_S390_UCONTROL
47 bool "Userspace controlled virtual machines"
48 depends on KVM
49 help
50 Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
51 controlled by userspace.
52
53 If unsure, say N.
54
55endif # VIRTUALIZATION
1#
2# KVM configuration
3#
4source "virt/kvm/Kconfig"
5
6menuconfig VIRTUALIZATION
7 def_bool y
8 prompt "Virtualization"
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 && EXPERIMENTAL
22 select PREEMPT_NOTIFIERS
23 select ANON_INODES
24 ---help---
25 Support hosting paravirtualized guest machines using the SIE
26 virtualization capability on the mainframe. This should work
27 on any 64bit machine.
28
29 This module provides access to the hardware capabilities through
30 a character device node named /dev/kvm.
31
32 To compile this as a module, choose M here: the module
33 will be called kvm.
34
35 If unsure, say N.
36
37# OK, it's a little counter-intuitive to do this, but it puts it neatly under
38# the virtualization menu.
39source drivers/vhost/Kconfig
40
41endif # VIRTUALIZATION