1# SPDX-License-Identifier: GPL-2.0 2# 3# KVM configuration 4# 5source "virt/kvm/Kconfig" 6 7menuconfig VIRTUALIZATION 8 bool "Virtualization" 9 help 10 Say Y here to get to see options for using your Linux host to run 11 other 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 tristate "Kernel-based Virtual Machine (KVM) support" 20 depends on HAVE_KVM 21 select PREEMPT_NOTIFIERS 22 select ANON_INODES 23 select KVM_GENERIC_DIRTYLOG_READ_PROTECT 24 select HAVE_KVM_VCPU_ASYNC_IOCTL 25 select KVM_MMIO 26 select MMU_NOTIFIER 27 select HAVE_KVM_IRQCHIP 28 select HAVE_KVM_IRQFD 29 select HAVE_KVM_IRQ_ROUTING 30 select HAVE_KVM_EVENTFD 31 select HAVE_KVM_MSI 32 select SRCU 33 select KVM_VFIO 34 help 35 Support for hosting Guest kernels. This use the LoongArch 36 Virtualization (LVZ) ASE which supports running unmodified 37 guest kernels. 38 39source "drivers/vhost/Kconfig" 40 41endif # VIRTUALIZATION 42