xref: /openbmc/linux/arch/x86/xen/Kconfig (revision 9d64fc08)
1#
2# This Kconfig describes xen options
3#
4
5config XEN
6	bool "Xen guest support"
7	depends on PARAVIRT
8	select PARAVIRT_CLOCK
9	depends on X86_64 || (X86_32 && X86_PAE)
10	depends on X86_LOCAL_APIC && X86_TSC
11	help
12	  This is the Linux Xen port.  Enabling this will allow the
13	  kernel to boot in a paravirtualized environment under the
14	  Xen hypervisor.
15
16config XEN_PV
17	bool "Xen PV guest support"
18	default y
19	depends on XEN
20	# XEN_PV is not ready to work with 5-level paging.
21	# Changes to hypervisor are also required.
22	depends on !X86_5LEVEL
23	select XEN_HAVE_PVMMU
24	select XEN_HAVE_VPMU
25	help
26	  Support running as a Xen PV guest.
27
28config XEN_PV_SMP
29	def_bool y
30	depends on XEN_PV && SMP
31
32config XEN_DOM0
33	bool "Xen PV Dom0 support"
34	default y
35	depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
36	depends on X86_IO_APIC && ACPI && PCI
37	help
38	  Support running as a Xen PV Dom0 guest.
39
40config XEN_PVHVM
41	bool "Xen PVHVM guest support"
42	default y
43	depends on XEN && PCI && X86_LOCAL_APIC
44	help
45	  Support running as a Xen PVHVM guest.
46
47config XEN_PVHVM_SMP
48	def_bool y
49	depends on XEN_PVHVM && SMP
50
51config XEN_512GB
52	bool "Limit Xen pv-domain memory to 512GB"
53	depends on XEN_PV && X86_64
54	default y
55	help
56	  Limit paravirtualized user domains to 512GB of RAM.
57
58	  The Xen tools and crash dump analysis tools might not support
59	  pv-domains with more than 512 GB of RAM. This option controls the
60	  default setting of the kernel to use only up to 512 GB or more.
61	  It is always possible to change the default via specifying the
62	  boot parameter "xen_512gb_limit".
63
64config XEN_SAVE_RESTORE
65       bool
66       depends on XEN
67       select HIBERNATE_CALLBACKS
68       default y
69
70config XEN_DEBUG_FS
71	bool "Enable Xen debug and tuning parameters in debugfs"
72	depends on XEN && DEBUG_FS
73	default n
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 PVH guest"
80	depends on XEN && XEN_PVHVM && ACPI
81	# Pre-built page tables are not ready to handle 5-level paging.
82	depends on !X86_5LEVEL
83	def_bool n
84