Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# CONFIG_KVM configuration
#

source "virt/kvm/Kconfig"

menuconfig CONFIG_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 CONFIG_VIRTUALIZATION

config CONFIG_KVM
	bool "Kernel-based Virtual Machine (KVM) support"
	depends on CONFIG_OF
	select CONFIG_MMU_NOTIFIER
	select CONFIG_PREEMPT_NOTIFIERS
	select CONFIG_ANON_INODES
	select CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT
	select CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL
	select CONFIG_KVM_MMIO
	select CONFIG_KVM_ARM_HOST
	select CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT
	select CONFIG_SRCU
	select CONFIG_KVM_VFIO
	select CONFIG_HAVE_KVM_EVENTFD
	select CONFIG_HAVE_KVM_IRQFD
	select CONFIG_KVM_ARM_PMU if CONFIG_HW_PERF_EVENTS
	select CONFIG_HAVE_KVM_MSI
	select CONFIG_HAVE_KVM_IRQCHIP
	select CONFIG_HAVE_KVM_IRQ_ROUTING
	---help---
	  Support hosting virtualized guest machines.
	  We don't support CONFIG_KVM with 16K page tables yet, due to the multiple
	  levels of fake page tables.

	  If unsure, say N.

config CONFIG_KVM_ARM_HOST
	bool
	---help---
	  Provides host support for CONFIG_ARM processors.

config CONFIG_KVM_ARM_PMU
	bool
	---help---
	  Adds support for a virtual Performance Monitoring Unit (PMU) in
	  virtual machines.

source drivers/vhost/Kconfig

endif # CONFIG_VIRTUALIZATION