0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # KVM configuration
0004 #
0005 source "virt/kvm/Kconfig"
0006
0007 menuconfig VIRTUALIZATION
0008 bool "Virtualization"
0009 help
0010 Say Y here to get to see options for using your Linux host to run
0011 other operating systems inside virtual machines (guests).
0012 This option alone does not add any kernel code.
0013
0014 If you say N, all options in this submenu will be skipped and disabled.
0015
0016 if VIRTUALIZATION
0017
0018 config KVM
0019 tristate "Kernel-based Virtual Machine (KVM) support"
0020 depends on HAVE_KVM
0021 depends on MIPS_FP_SUPPORT
0022 select EXPORT_UASM
0023 select PREEMPT_NOTIFIERS
0024 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
0025 select HAVE_KVM_EVENTFD
0026 select HAVE_KVM_VCPU_ASYNC_IOCTL
0027 select KVM_MMIO
0028 select MMU_NOTIFIER
0029 select SRCU
0030 select INTERVAL_TREE
0031 help
0032 Support for hosting Guest kernels.
0033
0034 config KVM_MIPS_DEBUG_COP0_COUNTERS
0035 bool "Maintain counters for COP0 accesses"
0036 depends on KVM
0037 help
0038 Maintain statistics for Guest COP0 accesses.
0039 A histogram of COP0 accesses is printed when the VM is
0040 shutdown.
0041
0042 If unsure, say N.
0043
0044 endif # VIRTUALIZATION