• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0
2#
3# This Kconfig describes xen options
4#
5
6config XEN
7	bool "Xen guest support"
8	depends on PARAVIRT
9	select PARAVIRT_CLOCK
10	select X86_HV_CALLBACK_VECTOR
11	depends on X86_64 || (X86_32 && X86_PAE)
12	depends on X86_LOCAL_APIC && X86_TSC
13	help
14	  This is the Linux Xen port.  Enabling this will allow the
15	  kernel to boot in a paravirtualized environment under the
16	  Xen hypervisor.
17
18config XEN_PV
19	bool "Xen PV guest support"
20	default y
21	depends on XEN
22	depends on X86_64
23	select PARAVIRT_XXL
24	select XEN_HAVE_PVMMU
25	select XEN_HAVE_VPMU
26	help
27	  Support running as a Xen PV guest.
28
29config XEN_PV_SMP
30	def_bool y
31	depends on XEN_PV && SMP
32
33config XEN_DOM0
34	bool "Xen PV Dom0 support"
35	default y
36	depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
37	depends on X86_IO_APIC && ACPI && PCI
38	help
39	  Support running as a Xen PV Dom0 guest.
40
41config XEN_PVHVM
42	bool "Xen PVHVM guest support"
43	default y
44	depends on XEN && PCI && X86_LOCAL_APIC
45	help
46	  Support running as a Xen PVHVM guest.
47
48config XEN_PVHVM_SMP
49	def_bool y
50	depends on XEN_PVHVM && SMP
51
52config XEN_512GB
53	bool "Limit Xen pv-domain memory to 512GB"
54	depends on XEN_PV
55	default y
56	help
57	  Limit paravirtualized user domains to 512GB of RAM.
58
59	  The Xen tools and crash dump analysis tools might not support
60	  pv-domains with more than 512 GB of RAM. This option controls the
61	  default setting of the kernel to use only up to 512 GB or more.
62	  It is always possible to change the default via specifying the
63	  boot parameter "xen_512gb_limit".
64
65config XEN_SAVE_RESTORE
66	bool
67	depends on XEN
68	select HIBERNATE_CALLBACKS
69	default y
70
71config XEN_DEBUG_FS
72	bool "Enable Xen debug and tuning parameters in debugfs"
73	depends on XEN && DEBUG_FS
74	help
75	  Enable statistics output and various tuning options in debugfs.
76	  Enabling this option may incur a significant performance overhead.
77
78config XEN_PVH
79	bool "Support for running as a Xen PVH guest"
80	depends on XEN && XEN_PVHVM && ACPI
81	select PVH
82	def_bool n
83