xref: /openbmc/linux/arch/x86/xen/Kconfig (revision ba61bb17)
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 XEN_HAVE_PVMMU
22	select XEN_HAVE_VPMU
23	help
24	  Support running as a Xen PV guest.
25
26config XEN_PV_SMP
27	def_bool y
28	depends on XEN_PV && SMP
29
30config XEN_DOM0
31	bool "Xen PV Dom0 support"
32	default y
33	depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
34	depends on X86_IO_APIC && ACPI && PCI
35	help
36	  Support running as a Xen PV Dom0 guest.
37
38config XEN_PVHVM
39	bool "Xen PVHVM guest support"
40	default y
41	depends on XEN && PCI && X86_LOCAL_APIC
42	help
43	  Support running as a Xen PVHVM guest.
44
45config XEN_PVHVM_SMP
46	def_bool y
47	depends on XEN_PVHVM && SMP
48
49config XEN_512GB
50	bool "Limit Xen pv-domain memory to 512GB"
51	depends on XEN_PV && X86_64
52	default y
53	help
54	  Limit paravirtualized user domains to 512GB of RAM.
55
56	  The Xen tools and crash dump analysis tools might not support
57	  pv-domains with more than 512 GB of RAM. This option controls the
58	  default setting of the kernel to use only up to 512 GB or more.
59	  It is always possible to change the default via specifying the
60	  boot parameter "xen_512gb_limit".
61
62config XEN_SAVE_RESTORE
63       bool
64       depends on XEN
65       select HIBERNATE_CALLBACKS
66       default y
67
68config XEN_DEBUG_FS
69	bool "Enable Xen debug and tuning parameters in debugfs"
70	depends on XEN && DEBUG_FS
71	default n
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 PVH guest"
78	depends on XEN && XEN_PVHVM && ACPI
79	def_bool n
80