xref: /linux/arch/mips/kvm/Kconfig (revision 411740f5422a960c30a4285343d821b62daec34b)
12235a54dSSanjay Lal#
22235a54dSSanjay Lal# KVM configuration
32235a54dSSanjay Lal#
42235a54dSSanjay Lalsource "virt/kvm/Kconfig"
52235a54dSSanjay Lal
62235a54dSSanjay Lalmenuconfig VIRTUALIZATION
72235a54dSSanjay Lal	bool "Virtualization"
82235a54dSSanjay Lal	---help---
92235a54dSSanjay Lal	  Say Y here to get to see options for using your Linux host to run
102235a54dSSanjay Lal	  other operating systems inside virtual machines (guests).
112235a54dSSanjay Lal	  This option alone does not add any kernel code.
122235a54dSSanjay Lal
132235a54dSSanjay Lal	  If you say N, all options in this submenu will be skipped and disabled.
142235a54dSSanjay Lal
152235a54dSSanjay Lalif VIRTUALIZATION
162235a54dSSanjay Lal
172235a54dSSanjay Lalconfig KVM
182235a54dSSanjay Lal	tristate "Kernel-based Virtual Machine (KVM) support"
192235a54dSSanjay Lal	depends on HAVE_KVM
2090e9311aSJames Hogan	select EXPORT_UASM
212235a54dSSanjay Lal	select PREEMPT_NOTIFIERS
222235a54dSSanjay Lal	select ANON_INODES
23e88643baSJames Hogan	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
242235a54dSSanjay Lal	select KVM_MMIO
25*411740f5SJames Hogan	select MMU_NOTIFIER
2683fe27eaSPranith Kumar	select SRCU
272235a54dSSanjay Lal	---help---
282235a54dSSanjay Lal	  Support for hosting Guest kernels.
292235a54dSSanjay Lal	  Currently supported on MIPS32 processors.
302235a54dSSanjay Lal
312235a54dSSanjay Lalconfig KVM_MIPS_DYN_TRANS
322235a54dSSanjay Lal	bool "KVM/MIPS: Dynamic binary translation to reduce traps"
332235a54dSSanjay Lal	depends on KVM
342235a54dSSanjay Lal	---help---
352235a54dSSanjay Lal	  When running in Trap & Emulate mode patch privileged
362235a54dSSanjay Lal	  instructions to reduce the number of traps.
372235a54dSSanjay Lal
382235a54dSSanjay Lal	  If unsure, say Y.
392235a54dSSanjay Lal
402235a54dSSanjay Lalconfig KVM_MIPS_DEBUG_COP0_COUNTERS
412235a54dSSanjay Lal	bool "Maintain counters for COP0 accesses"
422235a54dSSanjay Lal	depends on KVM
432235a54dSSanjay Lal	---help---
442235a54dSSanjay Lal	  Maintain statistics for Guest COP0 accesses.
452235a54dSSanjay Lal	  A histogram of COP0 accesses is printed when the VM is
462235a54dSSanjay Lal	  shutdown.
472235a54dSSanjay Lal
482235a54dSSanjay Lal	  If unsure, say N.
492235a54dSSanjay Lal
502235a54dSSanjay Lalsource drivers/vhost/Kconfig
512235a54dSSanjay Lal
522235a54dSSanjay Lalendif # VIRTUALIZATION
53