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