xref: /openbmc/linux/arch/x86/xen/Kconfig (revision 4800cd83)
1#
2# This Kconfig describes xen options
3#
4
5config XEN
6	bool "Xen guest support"
7	select PARAVIRT
8	select PARAVIRT_CLOCK
9	depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
10	depends on X86_CMPXCHG && 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_DOM0
17	def_bool y
18	depends on XEN && PCI_XEN && SWIOTLB_XEN
19	depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
20
21# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
22# name in tools.
23config XEN_PRIVILEGED_GUEST
24	def_bool XEN_DOM0
25
26config XEN_PVHVM
27	def_bool y
28	depends on XEN
29	depends on X86_LOCAL_APIC
30
31config XEN_MAX_DOMAIN_MEMORY
32       int
33       default 128
34       depends on XEN
35       help
36         This only affects the sizing of some bss arrays, the unused
37         portions of which are freed.
38
39config XEN_SAVE_RESTORE
40       bool
41       depends on XEN && PM
42       default y
43
44config XEN_DEBUG_FS
45	bool "Enable Xen debug and tuning parameters in debugfs"
46	depends on XEN && DEBUG_FS
47	default n
48	help
49	  Enable statistics output and various tuning options in debugfs.
50	  Enabling this option may incur a significant performance overhead.
51