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 source "virt/kvm/Kconfig" 5 source "virt/kvm/Kconfig" 6 6 7 menuconfig VIRTUALIZATION 7 menuconfig VIRTUALIZATION 8 def_bool y !! 8 bool "Virtualization" 9 prompt "KVM" !! 9 ---help--- 10 help !! 10 Say Y here to get to see options for using your Linux host to run 11 Say Y here to get to see options for !! 11 other operating systems inside virtual machines (guests). 12 operating systems inside virtual mac << 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 15 17 if VIRTUALIZATION 16 if VIRTUALIZATION 18 17 19 config KVM 18 config KVM 20 def_tristate y !! 19 tristate "Kernel-based Virtual Machine (KVM) support" 21 prompt "Kernel-based Virtual Machine ( !! 20 depends on HAVE_KVM 22 select HAVE_KVM_CPU_RELAX_INTERCEPT !! 21 depends on MIPS_FP_SUPPORT >> 22 select EXPORT_UASM >> 23 select PREEMPT_NOTIFIERS >> 24 select KVM_GENERIC_DIRTYLOG_READ_PROTECT 23 select HAVE_KVM_VCPU_ASYNC_IOCTL 25 select HAVE_KVM_VCPU_ASYNC_IOCTL 24 select KVM_ASYNC_PF !! 26 select KVM_MMIO 25 select KVM_ASYNC_PF_SYNC << 26 select KVM_COMMON << 27 select HAVE_KVM_IRQCHIP << 28 select HAVE_KVM_IRQ_ROUTING << 29 select HAVE_KVM_INVALID_WAKEUPS << 30 select HAVE_KVM_NO_POLL << 31 select KVM_VFIO << 32 select MMU_NOTIFIER 27 select MMU_NOTIFIER 33 help !! 28 select SRCU 34 Support hosting paravirtualized gues !! 29 ---help--- 35 virtualization capability on the mai !! 30 Support for hosting Guest kernels. 36 on any 64bit machine. << 37 31 38 This module provides access to the h !! 32 choice 39 a character device node named /dev/k !! 33 prompt "Virtualization mode" >> 34 depends on KVM >> 35 default KVM_MIPS_TE 40 36 41 To compile this as a module, choose !! 37 config KVM_MIPS_TE 42 will be called kvm. !! 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. 43 62 44 If unsure, say N. !! 63 If unsure, say Y. 45 64 46 config KVM_S390_UCONTROL !! 65 config KVM_MIPS_DEBUG_COP0_COUNTERS 47 bool "Userspace controlled virtual mac !! 66 bool "Maintain counters for COP0 accesses" 48 depends on KVM 67 depends on KVM 49 help !! 68 ---help--- 50 Allow CAP_SYS_ADMIN users to create !! 69 Maintain statistics for Guest COP0 accesses. 51 controlled by userspace. !! 70 A histogram of COP0 accesses is printed when the VM is >> 71 shutdown. 52 72 53 If unsure, say N. 73 If unsure, say N. >> 74 >> 75 source "drivers/vhost/Kconfig" 54 76 55 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.