xref: /linux/arch/x86/xen/Kconfig (revision f2ee442115c9b6219083c019939a9cc0c9abb2f8)
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 128
33       depends on XEN
34       help
35         This only affects the sizing of some bss arrays, the unused
36         portions of which are freed.
37
38config XEN_SAVE_RESTORE
39       bool
40       depends on XEN
41       select HIBERNATE_CALLBACKS
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