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