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 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_GUEST 54 bool "Xen PVHVM guest support" 55 default y 56 depends on XEN && PCI 57 help 58 Support running as a Xen PVHVM guest. 59 60config XEN_PVH 61 bool "Xen PVH guest support" 62 depends on XEN && ACPI 63 select PVH 64 help 65 Support for running as a Xen PVH guest. 66 67config XEN_DOM0 68 bool "Xen Dom0 support" 69 default XEN_PV 70 depends on (XEN_PV && SWIOTLB_XEN) || (XEN_PVH && X86_64) 71 depends on X86_IO_APIC && ACPI && PCI 72 select X86_X2APIC if XEN_PVH && X86_64 73 help 74 Support running as a Xen Dom0 guest. 75 76config XEN_PV_MSR_SAFE 77 bool "Always use safe MSR accesses in PV guests" 78 default y 79 depends on XEN_PV 80 help 81 Use safe (not faulting) MSR access functions even if the MSR access 82 should not fault anyway. 83 The default can be changed by using the "xen_msr_safe" boot parameter. 84