xref: /linux/arch/mips/kvm/Kconfig (revision 441f7bfa99fe2b8a7e504aa72047e20579e88a5d)
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
2983fe27eaSPranith Kumar	select SRCU
30ed922739SMaciej S. Szmigiero	select INTERVAL_TREE
31*441f7bfaSSean Christopherson	select KVM_GENERIC_HARDWARE_ENABLING
32a7f7f624SMasahiro Yamada	help
332235a54dSSanjay Lal	  Support for hosting Guest kernels.
3456f7a440SJames Hogan
352235a54dSSanjay Lalconfig KVM_MIPS_DEBUG_COP0_COUNTERS
362235a54dSSanjay Lal	bool "Maintain counters for COP0 accesses"
372235a54dSSanjay Lal	depends on KVM
38a7f7f624SMasahiro Yamada	help
392235a54dSSanjay Lal	  Maintain statistics for Guest COP0 accesses.
402235a54dSSanjay Lal	  A histogram of COP0 accesses is printed when the VM is
412235a54dSSanjay Lal	  shutdown.
422235a54dSSanjay Lal
432235a54dSSanjay Lal	  If unsure, say N.
442235a54dSSanjay Lal
452235a54dSSanjay Lalendif # VIRTUALIZATION
46