]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
77b455f1 CB |
2 | # |
3 | # KVM configuration | |
4 | # | |
0ba12d10 | 5 | source "virt/kvm/Kconfig" |
5d9b8e30 | 6 | |
77b455f1 | 7 | menuconfig VIRTUALIZATION |
6f9a3c33 | 8 | def_bool y |
843c48fd | 9 | prompt "KVM" |
77b455f1 CB |
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 | ||
17 | if VIRTUALIZATION | |
18 | ||
19 | config KVM | |
6f9a3c33 MS |
20 | def_tristate y |
21 | prompt "Kernel-based Virtual Machine (KVM) support" | |
b186ba6e | 22 | depends on HAVE_KVM |
77b455f1 CB |
23 | select PREEMPT_NOTIFIERS |
24 | select ANON_INODES | |
f2a74347 | 25 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
10ccaa1e | 26 | select HAVE_KVM_EVENTFD |
3c038e6b DD |
27 | select KVM_ASYNC_PF |
28 | select KVM_ASYNC_PF_SYNC | |
84223598 | 29 | select HAVE_KVM_IRQCHIP |
297e2105 | 30 | select HAVE_KVM_IRQFD |
84223598 | 31 | select HAVE_KVM_IRQ_ROUTING |
3491caf2 | 32 | select HAVE_KVM_INVALID_WAKEUPS |
83fe27ea | 33 | select SRCU |
14b0b4ac | 34 | select KVM_VFIO |
77b455f1 CB |
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 | ||
e08b9637 CO |
48 | config 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 | ||
77b455f1 CB |
57 | # OK, it's a little counter-intuitive to do this, but it puts it neatly under |
58 | # the virtualization menu. | |
3a4d5c94 | 59 | source drivers/vhost/Kconfig |
77b455f1 CB |
60 | |
61 | endif # VIRTUALIZATION |