xref: /openbmc/linux/arch/x86/xen/Kconfig (revision a5f6ea29)
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	depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
11	depends on 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_DOM0
18	def_bool y
19	depends on XEN && PCI_XEN && SWIOTLB_XEN
20	depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
21
22# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
23# name in tools.
24config XEN_PRIVILEGED_GUEST
25	def_bool XEN_DOM0
26
27config XEN_PVHVM
28	def_bool y
29	depends on XEN && PCI && X86_LOCAL_APIC
30
31config XEN_MAX_DOMAIN_MEMORY
32       int
33       default 500 if X86_64
34       default 64 if X86_32
35       depends on XEN
36       help
37         This only affects the sizing of some bss arrays, the unused
38         portions of which are freed.
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