50 lines
1.1 KiB
Plaintext
Raw Normal View History

2026-01-21 18:59:54 +08:00
# SPDX-License-Identifier: GPL-2.0
#
# KVM configuration
#
source "virt/kvm/Kconfig"
menuconfig VIRTUALIZATION
bool "Virtualization"
help
Say Y here to get to see options for using your Linux host to run
other operating systems inside virtual machines (guests).
This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled.
if VIRTUALIZATION
config KVM
tristate "Kernel-based Virtual Machine (KVM) support"
select PREEMPT_NOTIFIERS
select CMA
depends on NET
select HAVE_KVM_EVENTFD
select HAVE_KVM_IRQCHIP
select HAVE_KVM_IRQ_ROUTING
select HAVE_KVM_IRQFD
select HAVE_KVM_MSI
select KVM_VFIO
2026-01-29 22:25:33 +08:00
select MMU_NOTIFIER
select KVM_GENERIC_DIRTYLOG_READ_PROTECT
2026-01-21 18:59:54 +08:00
select TUN
select GENERIC_ALLOCATOR
2026-01-29 22:25:33 +08:00
select KVM_GENERIC_DIRTYLOG_READ_PROTECT
2026-01-21 18:59:54 +08:00
help
Support for hosting Guest kernels.
We don't support KVM with 3-level page tables yet.
If unsure, say N.
2026-01-29 22:25:33 +08:00
config KVM_MEMHOTPLUG
bool "Memory hotplug support for guest"
depends on KVM && MEMORY_HOTPLUG && SUBARCH_C3B
2026-01-21 18:59:54 +08:00
help
2026-01-29 22:25:33 +08:00
Provides memory hotplug support for SW64 guest.
2026-01-21 18:59:54 +08:00
source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION