# 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