blob: 7c56d6b124d1620248da030c94be9d3322696d48 [file] [log] [blame]
Sanjay Lal2235a542012-11-21 18:33:59 -08001#
2# KVM configuration
3#
4source "virt/kvm/Kconfig"
5
6menuconfig VIRTUALIZATION
7 bool "Virtualization"
Sanjay Lal2235a542012-11-21 18:33:59 -08008 ---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
James Hogan90e93112016-06-23 17:34:39 +010020 select EXPORT_UASM
Sanjay Lal2235a542012-11-21 18:33:59 -080021 select PREEMPT_NOTIFIERS
22 select ANON_INODES
23 select KVM_MMIO
Pranith Kumar83fe27e2014-12-05 11:24:45 -050024 select SRCU
Sanjay Lal2235a542012-11-21 18:33:59 -080025 ---help---
26 Support for hosting Guest kernels.
27 Currently supported on MIPS32 processors.
28
29config KVM_MIPS_DYN_TRANS
30 bool "KVM/MIPS: Dynamic binary translation to reduce traps"
31 depends on KVM
32 ---help---
33 When running in Trap & Emulate mode patch privileged
34 instructions to reduce the number of traps.
35
36 If unsure, say Y.
37
38config KVM_MIPS_DEBUG_COP0_COUNTERS
39 bool "Maintain counters for COP0 accesses"
40 depends on KVM
41 ---help---
42 Maintain statistics for Guest COP0 accesses.
43 A histogram of COP0 accesses is printed when the VM is
44 shutdown.
45
46 If unsure, say N.
47
48source drivers/vhost/Kconfig
49
50endif # VIRTUALIZATION