| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
# |
| 3 |
# KVM configuration |
| 4 |
# |
| 5 |
source "virt/kvm/Kconfig" |
| 6 |
|
| 7 |
menuconfig VIRTUALIZATION |
| 8 |
bool "Virtualization" |
| 9 |
help |
| 10 |
Say Y here to get to see options for using your Linux host to run |
| 11 |
other operating systems inside virtual machines (guests). |
| 12 |
This option alone does not add any kernel code. |
| 13 |
|
| 14 |
If you say N, all options in this submenu will be skipped and disabled. |
| 15 |
|
| 16 |
if VIRTUALIZATION |
| 17 |
|
| 18 |
config KVM |
| 19 |
tristate "Kernel-based Virtual Machine (KVM) support" |
| 20 |
depends on CPU_SUPPORTS_VZ |
| 21 |
depends on MIPS_FP_SUPPORT |
| 22 |
select EXPORT_UASM |
| 23 |
select KVM_COMMON |
| 24 |
select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
| 25 |
select KVM_MMIO |
| 26 |
select KVM_GENERIC_HARDWARE_ENABLING |
| 27 |
select HAVE_KVM_READONLY_MEM |
| 28 |
help |
| 29 |
Support for hosting Guest kernels. |
| 30 |
|
| 31 |
config KVM_MIPS_DEBUG_COP0_COUNTERS |
| 32 |
bool "Maintain counters for COP0 accesses" |
| 33 |
depends on KVM |
| 34 |
help |
| 35 |
Maintain statistics for Guest COP0 accesses. |
| 36 |
A histogram of COP0 accesses is printed when the VM is |
| 37 |
shutdown. |
| 38 |
|
| 39 |
If unsure, say N. |
| 40 |
|
| 41 |
endif # VIRTUALIZATION |