xref: /openbmc/linux/arch/mips/kvm/Kconfig (revision 93d90ad7)
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 PREEMPT_NOTIFIERS
21	select ANON_INODES
22	select KVM_MMIO
23	---help---
24	  Support for hosting Guest kernels.
25	  Currently supported on MIPS32 processors.
26
27config KVM_MIPS_DYN_TRANS
28	bool "KVM/MIPS: Dynamic binary translation to reduce traps"
29	depends on KVM
30	---help---
31	  When running in Trap & Emulate mode patch privileged
32	  instructions to reduce the number of traps.
33
34	  If unsure, say Y.
35
36config KVM_MIPS_DEBUG_COP0_COUNTERS
37	bool "Maintain counters for COP0 accesses"
38	depends on KVM
39	---help---
40	  Maintain statistics for Guest COP0 accesses.
41	  A histogram of COP0 accesses is printed when the VM is
42	  shutdown.
43
44	  If unsure, say N.
45
46source drivers/vhost/Kconfig
47
48endif # VIRTUALIZATION
49