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