1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # KVM configuration 2 # KVM configuration 4 # 3 # 5 << 6 source "virt/kvm/Kconfig" 4 source "virt/kvm/Kconfig" 7 5 8 menuconfig VIRTUALIZATION 6 menuconfig VIRTUALIZATION 9 bool "Virtualization" 7 bool "Virtualization" 10 help !! 8 ---help--- 11 Say Y here to get to see options for 9 Say Y here to get to see options for using your Linux host to run 12 other operating systems inside virtu 10 other operating systems inside virtual machines (guests). 13 This option alone does not add any k 11 This option alone does not add any kernel code. 14 12 15 If you say N, all options in this su !! 13 If you say N, all options in this submenu will be skipped and disabled. 16 disabled. << 17 14 18 if VIRTUALIZATION 15 if VIRTUALIZATION 19 16 20 config KVM 17 config KVM 21 tristate "Kernel-based Virtual Machine !! 18 tristate "Kernel-based Virtual Machine (KVM) support" 22 depends on RISCV_SBI && MMU !! 19 depends on HAVE_KVM 23 select HAVE_KVM_IRQCHIP !! 20 select PREEMPT_NOTIFIERS 24 select HAVE_KVM_IRQ_ROUTING !! 21 select ANON_INODES 25 select HAVE_KVM_MSI << 26 select HAVE_KVM_VCPU_ASYNC_IOCTL << 27 select HAVE_KVM_READONLY_MEM << 28 select KVM_COMMON << 29 select KVM_GENERIC_DIRTYLOG_READ_PROTE << 30 select KVM_GENERIC_HARDWARE_ENABLING << 31 select KVM_MMIO 22 select KVM_MMIO 32 select KVM_XFER_TO_GUEST_WORK !! 23 select SRCU 33 select KVM_GENERIC_MMU_NOTIFIER !! 24 ---help--- 34 select SCHED_INFO !! 25 Support for hosting Guest kernels. 35 help !! 26 Currently supported on MIPS32 processors. 36 Support hosting virtualized guest ma !! 27 >> 28 config 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 >> 37 config 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. 37 44 38 If unsure, say N. 45 If unsure, say N. >> 46 >> 47 source drivers/vhost/Kconfig 39 48 40 endif # VIRTUALIZATION 49 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.