1# SPDX-License-Identifier: GPL-2.0 2# 3# KVM configuration 4# 5 6source "virt/kvm/Kconfig" 7 8menuconfig VIRTUALIZATION 9 bool "Virtualization" 10 ---help--- 11 Say Y here to get to see options for using your Linux host to run 12 other 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 16 disabled. 17 18if VIRTUALIZATION 19 20config KVM 21 bool "Kernel-based Virtual Machine (KVM) support" 22 depends on MMU && OF 23 select PREEMPT_NOTIFIERS 24 select ANON_INODES 25 select ARM_GIC 26 select HAVE_KVM_CPU_RELAX_INTERCEPT 27 select HAVE_KVM_ARCH_TLB_FLUSH_ALL 28 select KVM_MMIO 29 select KVM_ARM_HOST 30 select KVM_GENERIC_DIRTYLOG_READ_PROTECT 31 select SRCU 32 select MMU_NOTIFIER 33 select KVM_VFIO 34 select HAVE_KVM_EVENTFD 35 select HAVE_KVM_IRQFD 36 select HAVE_KVM_IRQCHIP 37 select HAVE_KVM_IRQ_ROUTING 38 select HAVE_KVM_MSI 39 depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER 40 ---help--- 41 Support hosting virtualized guest machines. 42 43 This module provides access to the hardware capabilities through 44 a character device node named /dev/kvm. 45 46 If unsure, say N. 47 48config KVM_ARM_HOST 49 bool 50 ---help--- 51 Provides host support for ARM processors. 52 53source drivers/vhost/Kconfig 54 55endif # VIRTUALIZATION 56