hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/mips/kvm/Kconfig
....@@ -6,7 +6,7 @@
66
77 menuconfig VIRTUALIZATION
88 bool "Virtualization"
9
- ---help---
9
+ help
1010 Say Y here to get to see options for using your Linux host to run
1111 other operating systems inside virtual machines (guests).
1212 This option alone does not add any kernel code.
....@@ -18,14 +18,16 @@
1818 config KVM
1919 tristate "Kernel-based Virtual Machine (KVM) support"
2020 depends on HAVE_KVM
21
+ depends on MIPS_FP_SUPPORT
2122 select EXPORT_UASM
2223 select PREEMPT_NOTIFIERS
2324 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
25
+ select HAVE_KVM_EVENTFD
2426 select HAVE_KVM_VCPU_ASYNC_IOCTL
2527 select KVM_MMIO
2628 select MMU_NOTIFIER
2729 select SRCU
28
- ---help---
30
+ help
2931 Support for hosting Guest kernels.
3032
3133 choice
....@@ -35,16 +37,17 @@
3537
3638 config KVM_MIPS_TE
3739 bool "Trap & Emulate"
38
- ---help---
40
+ depends on CPU_MIPS32_R2
41
+ help
3942 Use trap and emulate to virtualize 32-bit guests in user mode. This
4043 does not require any special hardware Virtualization support beyond
41
- standard MIPS32/64 r2 or later, but it does require the guest kernel
44
+ standard MIPS32 r2 or later, but it does require the guest kernel
4245 to be configured with CONFIG_KVM_GUEST=y so that it resides in the
4346 user address segment.
4447
4548 config KVM_MIPS_VZ
4649 bool "MIPS Virtualization (VZ) ASE"
47
- ---help---
50
+ help
4851 Use the MIPS Virtualization (VZ) ASE to virtualize guests. This
4952 supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n),
5053 but requires hardware support.
....@@ -55,7 +58,7 @@
5558 bool "KVM/MIPS: Dynamic binary translation to reduce traps"
5659 depends on KVM_MIPS_TE
5760 default y
58
- ---help---
61
+ help
5962 When running in Trap & Emulate mode patch privileged
6063 instructions to reduce the number of traps.
6164
....@@ -64,13 +67,11 @@
6467 config KVM_MIPS_DEBUG_COP0_COUNTERS
6568 bool "Maintain counters for COP0 accesses"
6669 depends on KVM
67
- ---help---
70
+ help
6871 Maintain statistics for Guest COP0 accesses.
6972 A histogram of COP0 accesses is printed when the VM is
7073 shutdown.
7174
7275 If unsure, say N.
73
-
74
-source drivers/vhost/Kconfig
7576
7677 endif # VIRTUALIZATION