xref: /linux/arch/mips/kvm/Kconfig (revision e88643ba1acb48fa30345ba75cc324d7181aa2bf)
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
23*e88643baSJames Hogan	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
242235a54dSSanjay Lal	select KVM_MMIO
2583fe27eaSPranith Kumar	select SRCU
262235a54dSSanjay Lal	---help---
272235a54dSSanjay Lal	  Support for hosting Guest kernels.
282235a54dSSanjay Lal	  Currently supported on MIPS32 processors.
292235a54dSSanjay Lal
302235a54dSSanjay Lalconfig KVM_MIPS_DYN_TRANS
312235a54dSSanjay Lal	bool "KVM/MIPS: Dynamic binary translation to reduce traps"
322235a54dSSanjay Lal	depends on KVM
332235a54dSSanjay Lal	---help---
342235a54dSSanjay Lal	  When running in Trap & Emulate mode patch privileged
352235a54dSSanjay Lal	  instructions to reduce the number of traps.
362235a54dSSanjay Lal
372235a54dSSanjay Lal	  If unsure, say Y.
382235a54dSSanjay Lal
392235a54dSSanjay Lalconfig KVM_MIPS_DEBUG_COP0_COUNTERS
402235a54dSSanjay Lal	bool "Maintain counters for COP0 accesses"
412235a54dSSanjay Lal	depends on KVM
422235a54dSSanjay Lal	---help---
432235a54dSSanjay Lal	  Maintain statistics for Guest COP0 accesses.
442235a54dSSanjay Lal	  A histogram of COP0 accesses is printed when the VM is
452235a54dSSanjay Lal	  shutdown.
462235a54dSSanjay Lal
472235a54dSSanjay Lal	  If unsure, say N.
482235a54dSSanjay Lal
492235a54dSSanjay Lalsource drivers/vhost/Kconfig
502235a54dSSanjay Lal
512235a54dSSanjay Lalendif # VIRTUALIZATION
52