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