1 # SPDX-License-Identifier: GPL-2.0
3 # This Kconfig describes xen options
7 bool "Xen guest support"
10 select X86_HV_CALLBACK_VECTOR
11 depends on X86_64 || (X86_32 && X86_PAE)
12 depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MCORE2 || MATOM || MK8)
13 depends on X86_LOCAL_APIC && X86_TSC
15 This is the Linux Xen port. Enabling this will allow the
16 kernel to boot in a paravirtualized environment under the
20 bool "Xen PV guest support"
27 select GUEST_PERF_EVENTS
29 Support running as a Xen PV guest.
32 bool "Limit Xen pv-domain memory to 512GB"
36 Limit paravirtualized user domains to 512GB of RAM.
38 The Xen tools and crash dump analysis tools might not support
39 pv-domains with more than 512 GB of RAM. This option controls the
40 default setting of the kernel to use only up to 512 GB or more.
41 It is always possible to change the default via specifying the
42 boot parameter "xen_512gb_limit".
46 depends on XEN_PV && SMP
50 depends on XEN_PV && XEN_DOM0
54 depends on XEN && X86_LOCAL_APIC
58 depends on XEN_PVHVM && SMP
60 config XEN_PVHVM_GUEST
61 bool "Xen PVHVM guest support"
63 depends on XEN_PVHVM && PCI
65 Support running as a Xen PVHVM guest.
67 config XEN_SAVE_RESTORE
70 select HIBERNATE_CALLBACKS
74 bool "Enable Xen debug and tuning parameters in debugfs"
75 depends on XEN && DEBUG_FS
77 Enable statistics output and various tuning options in debugfs.
78 Enabling this option may incur a significant performance overhead.
81 bool "Xen PVH guest support"
82 depends on XEN && XEN_PVHVM && ACPI
85 Support for running as a Xen PVH guest.
88 bool "Xen Dom0 support"
90 depends on (XEN_PV && SWIOTLB_XEN) || (XEN_PVH && X86_64)
91 depends on X86_IO_APIC && ACPI && PCI
92 select X86_X2APIC if XEN_PVH && X86_64
94 Support running as a Xen Dom0 guest.
96 config XEN_PV_MSR_SAFE
97 bool "Always use safe MSR accesses in PV guests"
101 Use safe (not faulting) MSR access functions even if the MSR access
102 should not fault anyway.
103 The default can be changed by using the "xen_msr_safe" boot parameter.