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 MMU_NOTIFIER 26 select SRCU 27 ---help--- 28 Support for hosting Guest kernels. 29 30choice 31 prompt "Virtualization mode" 32 depends on KVM 33 default KVM_MIPS_TE 34 35config KVM_MIPS_TE 36 bool "Trap & Emulate" 37 ---help--- 38 Use trap and emulate to virtualize 32-bit guests in user mode. This 39 does not require any special hardware Virtualization support beyond 40 standard MIPS32/64 r2 or later, but it does require the guest kernel 41 to be configured with CONFIG_KVM_GUEST=y so that it resides in the 42 user address segment. 43 44config KVM_MIPS_VZ 45 bool "MIPS Virtualization (VZ) ASE" 46 ---help--- 47 Use the MIPS Virtualization (VZ) ASE to virtualize guests. This 48 supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n), 49 but requires hardware support. 50 51endchoice 52 53config KVM_MIPS_DYN_TRANS 54 bool "KVM/MIPS: Dynamic binary translation to reduce traps" 55 depends on KVM_MIPS_TE 56 default y 57 ---help--- 58 When running in Trap & Emulate mode patch privileged 59 instructions to reduce the number of traps. 60 61 If unsure, say Y. 62 63config KVM_MIPS_DEBUG_COP0_COUNTERS 64 bool "Maintain counters for COP0 accesses" 65 depends on KVM 66 ---help--- 67 Maintain statistics for Guest COP0 accesses. 68 A histogram of COP0 accesses is printed when the VM is 69 shutdown. 70 71 If unsure, say N. 72 73source drivers/vhost/Kconfig 74 75endif # VIRTUALIZATION 76