162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# KVM configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_cisource "virt/kvm/Kconfig"
662306a36Sopenharmony_ci
762306a36Sopenharmony_cimenuconfig VIRTUALIZATION
862306a36Sopenharmony_ci	bool "Virtualization"
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  Say Y here to get to see options for using your Linux host to run
1162306a36Sopenharmony_ci	  other operating systems inside virtual machines (guests).
1262306a36Sopenharmony_ci	  This option alone does not add any kernel code.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  If you say N, all options in this submenu will be skipped and disabled.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciif VIRTUALIZATION
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig KVM
1962306a36Sopenharmony_ci	tristate "Kernel-based Virtual Machine (KVM) support"
2062306a36Sopenharmony_ci	depends on HAVE_KVM
2162306a36Sopenharmony_ci	depends on MIPS_FP_SUPPORT
2262306a36Sopenharmony_ci	select EXPORT_UASM
2362306a36Sopenharmony_ci	select PREEMPT_NOTIFIERS
2462306a36Sopenharmony_ci	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
2562306a36Sopenharmony_ci	select HAVE_KVM_EVENTFD
2662306a36Sopenharmony_ci	select HAVE_KVM_VCPU_ASYNC_IOCTL
2762306a36Sopenharmony_ci	select KVM_MMIO
2862306a36Sopenharmony_ci	select MMU_NOTIFIER
2962306a36Sopenharmony_ci	select INTERVAL_TREE
3062306a36Sopenharmony_ci	select KVM_GENERIC_HARDWARE_ENABLING
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  Support for hosting Guest kernels.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig KVM_MIPS_DEBUG_COP0_COUNTERS
3562306a36Sopenharmony_ci	bool "Maintain counters for COP0 accesses"
3662306a36Sopenharmony_ci	depends on KVM
3762306a36Sopenharmony_ci	help
3862306a36Sopenharmony_ci	  Maintain statistics for Guest COP0 accesses.
3962306a36Sopenharmony_ci	  A histogram of COP0 accesses is printed when the VM is
4062306a36Sopenharmony_ci	  shutdown.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci	  If unsure, say N.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ciendif # VIRTUALIZATION
45