1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # KVM configuration 3 # KVM configuration 4 # 4 # 5 << 6 source "virt/kvm/Kconfig" 5 source "virt/kvm/Kconfig" 7 6 8 menuconfig VIRTUALIZATION 7 menuconfig VIRTUALIZATION 9 bool "Virtualization" 8 bool "Virtualization" 10 help !! 9 ---help--- 11 Say Y here to get to see options for 10 Say Y here to get to see options for using your Linux host to run 12 other operating systems inside virtu 11 other operating systems inside virtual machines (guests). 13 This option alone does not add any k 12 This option alone does not add any kernel code. 14 13 15 If you say N, all options in this su !! 14 If you say N, all options in this submenu will be skipped and disabled. 16 disabled. << 17 15 18 if VIRTUALIZATION 16 if VIRTUALIZATION 19 17 20 config KVM 18 config KVM 21 tristate "Kernel-based Virtual Machine 19 tristate "Kernel-based Virtual Machine (KVM) support" 22 depends on AS_HAS_LVZ_EXTENSION !! 20 depends on HAVE_KVM 23 select HAVE_KVM_DIRTY_RING_ACQ_REL !! 21 select EXPORT_UASM 24 select HAVE_KVM_VCPU_ASYNC_IOCTL !! 22 select PREEMPT_NOTIFIERS 25 select KVM_COMMON !! 23 select ANON_INODES 26 select KVM_GENERIC_DIRTYLOG_READ_PROTE 24 select KVM_GENERIC_DIRTYLOG_READ_PROTECT 27 select KVM_GENERIC_HARDWARE_ENABLING << 28 select KVM_GENERIC_MMU_NOTIFIER << 29 select KVM_MMIO 25 select KVM_MMIO 30 select HAVE_KVM_READONLY_MEM !! 26 select MMU_NOTIFIER 31 select KVM_XFER_TO_GUEST_WORK !! 27 select SRCU 32 select SCHED_INFO !! 28 ---help--- 33 help !! 29 Support for hosting Guest kernels. 34 Support hosting virtualized guest ma !! 30 35 hardware virtualization extensions. !! 31 choice 36 a processor equipped with virtualiza !! 32 prompt "Virtualization mode" >> 33 depends on KVM >> 34 default KVM_MIPS_TE >> 35 >> 36 config KVM_MIPS_TE >> 37 bool "Trap & Emulate" >> 38 ---help--- >> 39 Use trap and emulate to virtualize 32-bit guests in user mode. This >> 40 does not require any special hardware Virtualization support beyond >> 41 standard MIPS32/64 r2 or later, but it does require the guest kernel >> 42 to be configured with CONFIG_KVM_GUEST=y so that it resides in the >> 43 user address segment. >> 44 >> 45 config KVM_MIPS_VZ >> 46 bool "MIPS Virtualization (VZ) ASE" >> 47 ---help--- >> 48 Use the MIPS Virtualization (VZ) ASE to virtualize guests. This >> 49 supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n), >> 50 but requires hardware support. >> 51 >> 52 endchoice >> 53 >> 54 config KVM_MIPS_DYN_TRANS >> 55 bool "KVM/MIPS: Dynamic binary translation to reduce traps" >> 56 depends on KVM_MIPS_TE >> 57 default y >> 58 ---help--- >> 59 When running in Trap & Emulate mode patch privileged >> 60 instructions to reduce the number of traps. >> 61 >> 62 If unsure, say Y. >> 63 >> 64 config KVM_MIPS_DEBUG_COP0_COUNTERS >> 65 bool "Maintain counters for COP0 accesses" >> 66 depends on KVM >> 67 ---help--- >> 68 Maintain statistics for Guest COP0 accesses. >> 69 A histogram of COP0 accesses is printed when the VM is >> 70 shutdown. 37 71 38 If unsure, say N. 72 If unsure, say N. >> 73 >> 74 source drivers/vhost/Kconfig 39 75 40 endif # VIRTUALIZATION 76 endif # VIRTUALIZATION
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.