1# SPDX-License-Identifier: GPL-2.0 2# 3# This Kconfig describes xen options 4# 5 6config XEN 7 bool "Xen guest support" 8 depends on PARAVIRT 9 select PARAVIRT_CLOCK 10 select X86_HV_CALLBACK_VECTOR 11 select HIBERNATE_CALLBACKS 12 depends on X86_64 || (X86_32 && X86_PAE) 13 depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM) 14 depends on X86_LOCAL_APIC && X86_TSC 15 help 16 This is the Linux Xen port. Enabling this will allow the 17 kernel to boot in a paravirtualized environment under the 18 Xen hypervisor. 19 20config XEN_PV 21 bool "Xen PV guest support" 22 default y 23 depends on XEN 24 depends on X86_64 25 select PARAVIRT_XXL 26 select XEN_HAVE_PVMMU 27 select XEN_HAVE_VPMU 28 select GUEST_PERF_EVENTS 29 help 30 Support running as a Xen PV guest. 31 32config XEN_512GB 33 bool "Limit Xen pv-domain memory to 512GB" 34 depends on XEN_PV 35 default y 36 help 37 Limit paravirtualized user domains to 512GB of RAM. 38 39 The Xen tools and crash dump analysis tools might not support 40 pv-domains with more than 512 GB of RAM. This option controls the 41 default setting of the kernel to use only up to 512 GB or more. 42 It is always possible to change the default via specifying the 43 boot parameter "xen_512gb_limit". 44 45config XEN_PV_SMP 46 def_bool y 47 depends on XEN_PV && SMP 48 49config XEN_PV_DOM0 50 def_bool y 51 depends on XEN_PV && XEN_DOM0 52 53config XEN_PVHVM 54 def_bool y 55 depends on XEN && X86_LOCAL_APIC 56 57config XEN_PVHVM_SMP 58 def_bool y 59 depends on XEN_PVHVM && SMP 60 61config XEN_PVHVM_GUEST 62 bool "Xen PVHVM guest support" 63 default y 64 depends on XEN_PVHVM && PCI 65 help 66 Support running as a Xen PVHVM guest. 67 68config XEN_DEBUG_FS 69 bool "Enable Xen debug and tuning parameters in debugfs" 70 depends on XEN && DEBUG_FS 71 help 72 Enable statistics output and various tuning options in debugfs. 73 Enabling this option may incur a significant performance overhead. 74 75config XEN_PVH 76 bool "Xen PVH guest support" 77 depends on XEN && XEN_PVHVM && ACPI 78 select PVH 79 help 80 Support for running as a Xen PVH guest. 81 82config XEN_DOM0 83 bool "Xen Dom0 support" 84 default XEN_PV 85 depends on (XEN_PV && SWIOTLB_XEN) || (XEN_PVH && X86_64) 86 depends on X86_IO_APIC && ACPI && PCI 87 select X86_X2APIC if XEN_PVH && X86_64 88 help 89 Support running as a Xen Dom0 guest. 90 91config XEN_PV_MSR_SAFE 92 bool "Always use safe MSR accesses in PV guests" 93 default y 94 depends on XEN_PV 95 help 96 Use safe (not faulting) MSR access functions even if the MSR access 97 should not fault anyway. 98 The default can be changed by using the "xen_msr_safe" boot parameter. 99