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