| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
# |
| 3 |
# KVM configuration |
| 4 |
# |
| 5 |
|
| 6 |
source "virt/kvm/Kconfig" |
| 7 |
|
| 8 |
menuconfig 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 |
|
| 18 |
if VIRTUALIZATION |
| 19 |
|
| 20 |
config KVM |
| 21 |
tristate "Kernel-based Virtual Machine (KVM) support" |
| 22 |
depends on RISCV_SBI && MMU |
| 23 |
select HAVE_KVM_IRQCHIP |
| 24 |
select HAVE_KVM_IRQ_ROUTING |
| 25 |
select HAVE_KVM_MSI |
| 26 |
select HAVE_KVM_READONLY_MEM |
| 27 |
select HAVE_KVM_DIRTY_RING_ACQ_REL |
| 28 |
select KVM_COMMON |
| 29 |
select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
| 30 |
select KVM_GENERIC_HARDWARE_ENABLING |
| 31 |
select KVM_MMIO |
| 32 |
select VIRT_XFER_TO_GUEST_WORK |
| 33 |
select SCHED_INFO |
| 34 |
select GUEST_PERF_EVENTS if PERF_EVENTS |
| 35 |
help |
| 36 |
Support hosting virtualized guest machines. |
| 37 |
|
| 38 |
If unsure, say N. |
| 39 |
|
| 40 |
endif # VIRTUALIZATION |