xref: /openbmc/linux/arch/mips/kvm/Kconfig (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
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"
202235a54dSSanjay Lal	depends on HAVE_KVM
21c92e47e5SPaul Burton	depends on MIPS_FP_SUPPORT
2290e9311aSJames Hogan	select EXPORT_UASM
232235a54dSSanjay Lal	select PREEMPT_NOTIFIERS
24e88643baSJames Hogan	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
25bf10efbbSHuacai Chen	select HAVE_KVM_EVENTFD
265cb0944cSPaolo Bonzini	select HAVE_KVM_VCPU_ASYNC_IOCTL
272235a54dSSanjay Lal	select KVM_MMIO
28411740f5SJames Hogan	select MMU_NOTIFIER
29ed922739SMaciej S. Szmigiero	select INTERVAL_TREE
30*441f7bfaSSean Christopherson	select KVM_GENERIC_HARDWARE_ENABLING
31a7f7f624SMasahiro Yamada	help
322235a54dSSanjay Lal	  Support for hosting Guest kernels.
3356f7a440SJames Hogan
342235a54dSSanjay Lalconfig KVM_MIPS_DEBUG_COP0_COUNTERS
352235a54dSSanjay Lal	bool "Maintain counters for COP0 accesses"
362235a54dSSanjay Lal	depends on KVM
37a7f7f624SMasahiro Yamada	help
382235a54dSSanjay Lal	  Maintain statistics for Guest COP0 accesses.
392235a54dSSanjay Lal	  A histogram of COP0 accesses is printed when the VM is
402235a54dSSanjay Lal	  shutdown.
412235a54dSSanjay Lal
422235a54dSSanjay Lal	  If unsure, say N.
432235a54dSSanjay Lal
442235a54dSSanjay Lalendif # VIRTUALIZATION
45