summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kvm/Kconfig')
-rw-r--r--arch/s390/kvm/Kconfig61
1 files changed, 61 insertions, 0 deletions
diff --git a/arch/s390/kvm/Kconfig b/arch/s390/kvm/Kconfig
new file mode 100644
index 000000000..e7b525d04
--- /dev/null
+++ b/arch/s390/kvm/Kconfig
@@ -0,0 +1,61 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# KVM configuration
+#
+source "virt/kvm/Kconfig"
+
+menuconfig VIRTUALIZATION
+ def_bool y
+ prompt "KVM"
+ help
+ Say Y here to get to see options for using your Linux host to run other
+ operating systems inside virtual machines (guests).
+ This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.
+
+if VIRTUALIZATION
+
+config KVM
+ def_tristate y
+ prompt "Kernel-based Virtual Machine (KVM) support"
+ select HAVE_KVM_CPU_RELAX_INTERCEPT
+ select KVM_ASYNC_PF
+ select KVM_ASYNC_PF_SYNC
+ select KVM_COMMON
+ select HAVE_KVM_IRQCHIP
+ select HAVE_KVM_IRQ_ROUTING
+ select KVM_VFIO
+ select VIRT_XFER_TO_GUEST_WORK
+ select KVM_MMU_LOCKLESS_AGING
+ select KVM_GENERIC_PRE_FAULT_MEMORY
+ help
+ Enable support for hosting virtualized, hardware-accelerated
+ virtual machines via two modules: kvm and kvm_arm64.
+
+ The kvm module provides access to host hardware-accelerated s390
+ guests using the Start Interpretive Execution (SIE) instruction via a
+ character device node named /dev/kvm. This requires a 64-bit machine
+ (hardware model).
+
+ The kvm_arm64 module provides access to host hardware-accelerated
+ arm64 guests using the Start ARM Execution (SAE) instruction via a
+ character device node named /dev/kvm_arm64. This requires hardware
+ models that support the Arm execution facility (AEF).
+
+ To compile this driver as a module, choose M here. The module will be
+ called kvm for the SIE acceleration and kvm_arm64 for the SAE
+ acceleration.
+
+ If unsure, say N.
+
+config KVM_S390_UCONTROL
+ bool "Userspace controlled virtual machines"
+ depends on KVM
+ help
+ Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
+ controlled by userspace.
+
+ If unsure, say N.
+
+endif # VIRTUALIZATION