Directory Files
.. 7
File Size
Kconfig 963 B
Makefile 702 B
aia.c 15 kB
aia_aplic.c 15 kB
aia_device.c 16 kB
aia_imsic.c 30 kB
main.c 3.0 kB
mmu.c 20 kB
tlb.c 10 kB
vcpu.c 19 kB
vcpu_exit.c 5.7 kB
vcpu_fp.c 4.8 kB
vcpu_insn.c 20 kB
vcpu_onereg.c 26 kB
vcpu_pmu.c 17 kB
vcpu_sbi.c 10 kB
vcpu_sbi_base.c 2.6 kB
vcpu_sbi_hsm.c 2.8 kB
vcpu_sbi_pmu.c 2.2 kB
vcpu_sbi_replace.c 4.7 kB
vcpu_sbi_v01.c 3.0 kB
vcpu_switch.S 12 kB
vcpu_timer.c 9.1 kB
vcpu_vector.c 4.7 kB
vm.c 4.7 kB
vmid.c 3.1 kB

Linux v6.6.1 - kvm

# 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 (EXPERIMENTAL)"
	depends on RISCV_SBI && MMU
	select HAVE_KVM_EVENTFD
	select HAVE_KVM_IRQCHIP
	select HAVE_KVM_IRQFD
	select HAVE_KVM_IRQ_ROUTING
	select HAVE_KVM_MSI
	select HAVE_KVM_VCPU_ASYNC_IOCTL
	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
	select KVM_GENERIC_HARDWARE_ENABLING
	select KVM_MMIO
	select KVM_XFER_TO_GUEST_WORK
	select MMU_NOTIFIER
	select PREEMPT_NOTIFIERS
	help
	  Support hosting virtualized guest machines.

	  If unsure, say N.

endif # VIRTUALIZATION