]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - arch/mips/kvm/Kconfig
kvm: replace __KVM_HAVE_READONLY_MEM with Kconfig symbol
[thirdparty/kernel/stable.git] / arch / mips / kvm / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
2235a54d
SL
2#
3# KVM configuration
4#
5source "virt/kvm/Kconfig"
6
7menuconfig VIRTUALIZATION
8 bool "Virtualization"
a7f7f624 9 help
2235a54d
SL
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
c92e47e5 21 depends on MIPS_FP_SUPPORT
90e9311a 22 select EXPORT_UASM
caadf876 23 select KVM_COMMON
e88643ba 24 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
5cb0944c 25 select HAVE_KVM_VCPU_ASYNC_IOCTL
2235a54d 26 select KVM_MMIO
f128cf8c 27 select KVM_GENERIC_MMU_NOTIFIER
441f7bfa 28 select KVM_GENERIC_HARDWARE_ENABLING
8886640d 29 select HAVE_KVM_READONLY_MEM
a7f7f624 30 help
2235a54d 31 Support for hosting Guest kernels.
56f7a440 32
2235a54d
SL
33config KVM_MIPS_DEBUG_COP0_COUNTERS
34 bool "Maintain counters for COP0 accesses"
35 depends on KVM
a7f7f624 36 help
2235a54d
SL
37 Maintain statistics for Guest COP0 accesses.
38 A histogram of COP0 accesses is printed when the VM is
39 shutdown.
40
41 If unsure, say N.
42
2235a54d 43endif # VIRTUALIZATION