162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# KVM configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cisource "virt/kvm/Kconfig"
762306a36Sopenharmony_ci
862306a36Sopenharmony_cimenuconfig VIRTUALIZATION
962306a36Sopenharmony_ci	bool "Virtualization"
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  Say Y here to get to see options for using your Linux host to run
1262306a36Sopenharmony_ci	  other operating systems inside virtual machines (guests).
1362306a36Sopenharmony_ci	  This option alone does not add any kernel code.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci	  If you say N, all options in this submenu will be skipped and
1662306a36Sopenharmony_ci	  disabled.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciif VIRTUALIZATION
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig KVM
2162306a36Sopenharmony_ci	tristate "Kernel-based Virtual Machine (KVM) support (EXPERIMENTAL)"
2262306a36Sopenharmony_ci	depends on RISCV_SBI && MMU
2362306a36Sopenharmony_ci	select HAVE_KVM_EVENTFD
2462306a36Sopenharmony_ci	select HAVE_KVM_IRQCHIP
2562306a36Sopenharmony_ci	select HAVE_KVM_IRQFD
2662306a36Sopenharmony_ci	select HAVE_KVM_IRQ_ROUTING
2762306a36Sopenharmony_ci	select HAVE_KVM_MSI
2862306a36Sopenharmony_ci	select HAVE_KVM_VCPU_ASYNC_IOCTL
2962306a36Sopenharmony_ci	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
3062306a36Sopenharmony_ci	select KVM_GENERIC_HARDWARE_ENABLING
3162306a36Sopenharmony_ci	select KVM_MMIO
3262306a36Sopenharmony_ci	select KVM_XFER_TO_GUEST_WORK
3362306a36Sopenharmony_ci	select MMU_NOTIFIER
3462306a36Sopenharmony_ci	select PREEMPT_NOTIFIERS
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  Support hosting virtualized guest machines.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci	  If unsure, say N.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciendif # VIRTUALIZATION
41