xref: /linux/arch/mips/kvm/Kconfig (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
22235a54dSSanjay Lal#
32235a54dSSanjay Lal# KVM configuration
42235a54dSSanjay Lal#
52235a54dSSanjay Lalsource "virt/kvm/Kconfig"
62235a54dSSanjay Lal
72235a54dSSanjay Lalmenuconfig VIRTUALIZATION
82235a54dSSanjay Lal	bool "Virtualization"
9a7f7f624SMasahiro Yamada	help
102235a54dSSanjay Lal	  Say Y here to get to see options for using your Linux host to run
112235a54dSSanjay Lal	  other operating systems inside virtual machines (guests).
122235a54dSSanjay Lal	  This option alone does not add any kernel code.
132235a54dSSanjay Lal
142235a54dSSanjay Lal	  If you say N, all options in this submenu will be skipped and disabled.
152235a54dSSanjay Lal
162235a54dSSanjay Lalif VIRTUALIZATION
172235a54dSSanjay Lal
182235a54dSSanjay Lalconfig KVM
192235a54dSSanjay Lal	tristate "Kernel-based Virtual Machine (KVM) support"
20*a6d54338SPaolo Bonzini	depends on CPU_SUPPORTS_VZ
21c92e47e5SPaul Burton	depends on MIPS_FP_SUPPORT
2290e9311aSJames Hogan	select EXPORT_UASM
23caadf876SPaolo Bonzini	select KVM_COMMON
24e88643baSJames Hogan	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
255cb0944cSPaolo Bonzini	select HAVE_KVM_VCPU_ASYNC_IOCTL
262235a54dSSanjay Lal	select KVM_MMIO
27f128cf8cSSean Christopherson	select KVM_GENERIC_MMU_NOTIFIER
28441f7bfaSSean Christopherson	select KVM_GENERIC_HARDWARE_ENABLING
298886640dSPaolo Bonzini	select HAVE_KVM_READONLY_MEM
30a7f7f624SMasahiro Yamada	help
312235a54dSSanjay Lal	  Support for hosting Guest kernels.
3256f7a440SJames Hogan
332235a54dSSanjay Lalconfig KVM_MIPS_DEBUG_COP0_COUNTERS
342235a54dSSanjay Lal	bool "Maintain counters for COP0 accesses"
352235a54dSSanjay Lal	depends on KVM
36a7f7f624SMasahiro Yamada	help
372235a54dSSanjay Lal	  Maintain statistics for Guest COP0 accesses.
382235a54dSSanjay Lal	  A histogram of COP0 accesses is printed when the VM is
392235a54dSSanjay Lal	  shutdown.
402235a54dSSanjay Lal
412235a54dSSanjay Lal	  If unsure, say N.
422235a54dSSanjay Lal
432235a54dSSanjay Lalendif # VIRTUALIZATION
44