0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # KVM configuration
0004 #
0005 source "virt/kvm/Kconfig"
0006
0007 menuconfig VIRTUALIZATION
0008 def_bool y
0009 prompt "KVM"
0010 help
0011 Say Y here to get to see options for using your Linux host to run other
0012 operating systems inside virtual machines (guests).
0013 This option alone does not add any kernel code.
0014
0015 If you say N, all options in this submenu will be skipped and disabled.
0016
0017 if VIRTUALIZATION
0018
0019 config KVM
0020 def_tristate y
0021 prompt "Kernel-based Virtual Machine (KVM) support"
0022 depends on HAVE_KVM
0023 select PREEMPT_NOTIFIERS
0024 select HAVE_KVM_CPU_RELAX_INTERCEPT
0025 select HAVE_KVM_VCPU_ASYNC_IOCTL
0026 select HAVE_KVM_EVENTFD
0027 select KVM_ASYNC_PF
0028 select KVM_ASYNC_PF_SYNC
0029 select HAVE_KVM_IRQCHIP
0030 select HAVE_KVM_IRQFD
0031 select HAVE_KVM_IRQ_ROUTING
0032 select HAVE_KVM_INVALID_WAKEUPS
0033 select HAVE_KVM_NO_POLL
0034 select SRCU
0035 select KVM_VFIO
0036 select INTERVAL_TREE
0037 select MMU_NOTIFIER
0038 help
0039 Support hosting paravirtualized guest machines using the SIE
0040 virtualization capability on the mainframe. This should work
0041 on any 64bit machine.
0042
0043 This module provides access to the hardware capabilities through
0044 a character device node named /dev/kvm.
0045
0046 To compile this as a module, choose M here: the module
0047 will be called kvm.
0048
0049 If unsure, say N.
0050
0051 config KVM_S390_UCONTROL
0052 bool "Userspace controlled virtual machines"
0053 depends on KVM
0054 help
0055 Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
0056 controlled by userspace.
0057
0058 If unsure, say N.
0059
0060 endif # VIRTUALIZATION