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

# SPDX-License-Identifier: GPL-2.0
#
# This Kconfig describes xen options
#

config CONFIG_XEN
	bool "Xen guest support"
	depends on CONFIG_PARAVIRT
	select CONFIG_PARAVIRT_CLOCK
	select CONFIG_X86_HV_CALLBACK_VECTOR
	depends on CONFIG_X86_64 || (CONFIG_X86_32 && CONFIG_X86_PAE)
	depends on CONFIG_X86_LOCAL_APIC && CONFIG_X86_TSC
	help
	  This is the Linux Xen port.  Enabling this will allow the
	  kernel to boot in a paravirtualized environment under the
	  Xen hypervisor.

config CONFIG_XEN_PV
	bool "Xen PV guest support"
	default y
	depends on CONFIG_XEN
	select CONFIG_PARAVIRT_XXL
	select CONFIG_XEN_HAVE_PVMMU
	select CONFIG_XEN_HAVE_VPMU
	help
	  Support running as a Xen PV guest.

config CONFIG_XEN_PV_SMP
	def_bool y
	depends on CONFIG_XEN_PV && CONFIG_SMP

config CONFIG_XEN_DOM0
	bool "Xen PV Dom0 support"
	default y
	depends on CONFIG_XEN_PV && CONFIG_PCI_XEN && CONFIG_SWIOTLB_XEN
	depends on CONFIG_X86_IO_APIC && CONFIG_ACPI && CONFIG_PCI
	help
	  Support running as a Xen PV Dom0 guest.

config CONFIG_XEN_PVHVM
	bool "Xen PVHVM guest support"
	default y
	depends on CONFIG_XEN && CONFIG_PCI && CONFIG_X86_LOCAL_APIC
	help
	  Support running as a Xen PVHVM guest.

config CONFIG_XEN_PVHVM_SMP
	def_bool y
	depends on CONFIG_XEN_PVHVM && CONFIG_SMP

config CONFIG_XEN_512GB
	bool "Limit Xen pv-domain memory to 512GB"
	depends on CONFIG_XEN_PV && CONFIG_X86_64
	default y
	help
	  Limit paravirtualized user domains to 512GB of RAM.

	  The Xen tools and crash dump analysis tools might not support
	  pv-domains with more than 512 GB of RAM. This option controls the
	  default setting of the kernel to use only up to 512 GB or more.
	  It is always possible to change the default via specifying the
	  boot parameter "xen_512gb_limit".

config CONFIG_XEN_SAVE_RESTORE
       bool
       depends on CONFIG_XEN
       select CONFIG_HIBERNATE_CALLBACKS
       default y

config CONFIG_XEN_DEBUG_FS
	bool "Enable Xen debug and tuning parameters in debugfs"
	depends on CONFIG_XEN && CONFIG_DEBUG_FS
	help
	  Enable statistics output and various tuning options in debugfs.
	  Enabling this option may incur a significant performance overhead.

config CONFIG_XEN_PVH
	bool "Support for running as a Xen PVH guest"
	depends on CONFIG_XEN && CONFIG_XEN_PVHVM && CONFIG_ACPI
	select CONFIG_PVH
	def_bool n