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