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 && PCI && X86_LOCAL_APIC
29
30config XEN_MAX_DOMAIN_MEMORY
31       int
32       default 500 if X86_64
33       default 64 if X86_32
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
42       select HIBERNATE_CALLBACKS
43       default y
44
45config XEN_DEBUG_FS
46	bool "Enable Xen debug and tuning parameters in debugfs"
47	depends on XEN && DEBUG_FS
48	default n
49	help
50	  Enable statistics output and various tuning options in debugfs.
51	  Enabling this option may incur a significant performance overhead.
52
53