xref: /linux/arch/mips/kvm/Kconfig (revision e88643ba1acb48fa30345ba75cc324d7181aa2bf)
1#
2# KVM configuration
3#
4source "virt/kvm/Kconfig"
5
6menuconfig VIRTUALIZATION
7	bool "Virtualization"
8	---help---
9	  Say Y here to get to see options for using your Linux host to run
10	  other operating systems inside virtual machines (guests).
11	  This option alone does not add any kernel code.
12
13	  If you say N, all options in this submenu will be skipped and disabled.
14
15if VIRTUALIZATION
16
17config KVM
18	tristate "Kernel-based Virtual Machine (KVM) support"
19	depends on HAVE_KVM
20	select EXPORT_UASM
21	select PREEMPT_NOTIFIERS
22	select ANON_INODES
23	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
24	select KVM_MMIO
25	select SRCU
26	---help---
27	  Support for hosting Guest kernels.
28	  Currently supported on MIPS32 processors.
29
30config KVM_MIPS_DYN_TRANS
31	bool "KVM/MIPS: Dynamic binary translation to reduce traps"
32	depends on KVM
33	---help---
34	  When running in Trap & Emulate mode patch privileged
35	  instructions to reduce the number of traps.
36
37	  If unsure, say Y.
38
39config KVM_MIPS_DEBUG_COP0_COUNTERS
40	bool "Maintain counters for COP0 accesses"
41	depends on KVM
42	---help---
43	  Maintain statistics for Guest COP0 accesses.
44	  A histogram of COP0 accesses is printed when the VM is
45	  shutdown.
46
47	  If unsure, say N.
48
49source drivers/vhost/Kconfig
50
51endif # VIRTUALIZATION
52