xref: /linux/arch/loongarch/kvm/Kconfig (revision 257ca10c7317d4a424e48bb95d14ca53a1f1dd6f)
1# SPDX-License-Identifier: GPL-2.0
2#
3# KVM configuration
4#
5
6source "virt/kvm/Kconfig"
7
8menuconfig VIRTUALIZATION
9	bool "Virtualization"
10	help
11	  Say Y here to get to see options for using your Linux host to run
12	  other operating systems inside virtual machines (guests).
13	  This option alone does not add any kernel code.
14
15	  If you say N, all options in this submenu will be skipped and
16	  disabled.
17
18if VIRTUALIZATION
19
20config KVM
21	tristate "Kernel-based Virtual Machine (KVM) support"
22	depends on AS_HAS_LVZ_EXTENSION
23	depends on HAVE_KVM
24	select HAVE_KVM_DIRTY_RING_ACQ_REL
25	select HAVE_KVM_VCPU_ASYNC_IOCTL
26	select KVM_COMMON
27	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
28	select KVM_GENERIC_HARDWARE_ENABLING
29	select KVM_GENERIC_MMU_NOTIFIER
30	select KVM_MMIO
31	select KVM_XFER_TO_GUEST_WORK
32	help
33	  Support hosting virtualized guest machines using
34	  hardware virtualization extensions. You will need
35	  a processor equipped with virtualization extensions.
36
37	  If unsure, say N.
38
39endif # VIRTUALIZATION
40