1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 29702785aSThomas Gleixner# 39702785aSThomas Gleixner# This Kconfig describes xen options 49702785aSThomas Gleixner# 59702785aSThomas Gleixner 69702785aSThomas Gleixnerconfig XEN 7d3d1c4bdSRusty Russell bool "Xen guest support" 86276a074SBorislav Petkov depends on PARAVIRT 91c7b67f7SGerd Hoffmann select PARAVIRT_CLOCK 10ecca2502SZhao Yakui select X86_HV_CALLBACK_VECTOR 11c5f9ee3dSH. Peter Anvin depends on X86_64 || (X86_32 && X86_PAE) 1287ffd2b9SDavid Vrabel depends on X86_LOCAL_APIC && X86_TSC 139702785aSThomas Gleixner help 149702785aSThomas Gleixner This is the Linux Xen port. Enabling this will allow the 159702785aSThomas Gleixner kernel to boot in a paravirtualized environment under the 169702785aSThomas Gleixner Xen hypervisor. 178006ec3eSJeremy Fitzhardinge 185e57f1d6SVitaly Kuznetsovconfig XEN_PV 195e57f1d6SVitaly Kuznetsov bool "Xen PV guest support" 205e57f1d6SVitaly Kuznetsov default y 215e57f1d6SVitaly Kuznetsov depends on XEN 22a13f2ef1SJuergen Gross depends on X86_64 23c00a280aSJuergen Gross select PARAVIRT_XXL 245e57f1d6SVitaly Kuznetsov select XEN_HAVE_PVMMU 2550a1062dSVitaly Kuznetsov select XEN_HAVE_VPMU 265e57f1d6SVitaly Kuznetsov help 275e57f1d6SVitaly Kuznetsov Support running as a Xen PV guest. 285e57f1d6SVitaly Kuznetsov 29bfda93aeSJason Andryukconfig XEN_512GB 30bfda93aeSJason Andryuk bool "Limit Xen pv-domain memory to 512GB" 316190c0ccSJason Andryuk depends on XEN_PV 32bfda93aeSJason Andryuk default y 33bfda93aeSJason Andryuk help 34bfda93aeSJason Andryuk Limit paravirtualized user domains to 512GB of RAM. 35bfda93aeSJason Andryuk 36bfda93aeSJason Andryuk The Xen tools and crash dump analysis tools might not support 37bfda93aeSJason Andryuk pv-domains with more than 512 GB of RAM. This option controls the 38bfda93aeSJason Andryuk default setting of the kernel to use only up to 512 GB or more. 39bfda93aeSJason Andryuk It is always possible to change the default via specifying the 40bfda93aeSJason Andryuk boot parameter "xen_512gb_limit". 41bfda93aeSJason Andryuk 4233af7469SVitaly Kuznetsovconfig XEN_PV_SMP 4333af7469SVitaly Kuznetsov def_bool y 4433af7469SVitaly Kuznetsov depends on XEN_PV && SMP 4533af7469SVitaly Kuznetsov 46*cae7d81aSJan Beulichconfig XEN_PV_DOM0 47*cae7d81aSJan Beulich def_bool y 48*cae7d81aSJan Beulich depends on XEN_PV && XEN_DOM0 496b0661a5SStefano Stabellini 50ca65f9fcSStefano Stabelliniconfig XEN_PVHVM 5134aff145SJason Andryuk def_bool y 5234aff145SJason Andryuk depends on XEN && X86_LOCAL_APIC 53ca65f9fcSStefano Stabellini 54a52482d9SVitaly Kuznetsovconfig XEN_PVHVM_SMP 55a52482d9SVitaly Kuznetsov def_bool y 56a52482d9SVitaly Kuznetsov depends on XEN_PVHVM && SMP 57a52482d9SVitaly Kuznetsov 5834aff145SJason Andryukconfig XEN_PVHVM_GUEST 5934aff145SJason Andryuk bool "Xen PVHVM guest support" 6034aff145SJason Andryuk default y 6134aff145SJason Andryuk depends on XEN_PVHVM && PCI 6234aff145SJason Andryuk help 6334aff145SJason Andryuk Support running as a Xen PVHVM guest. 6434aff145SJason Andryuk 6593a0886eSJeremy Fitzhardingeconfig XEN_SAVE_RESTORE 6693a0886eSJeremy Fitzhardinge bool 671eb208aeSRafael J. Wysocki depends on XEN 68d419e4c0SShriram Rajagopalan select HIBERNATE_CALLBACKS 6993a0886eSJeremy Fitzhardinge default y 70994025caSJeremy Fitzhardinge 71994025caSJeremy Fitzhardingeconfig XEN_DEBUG_FS 72994025caSJeremy Fitzhardinge bool "Enable Xen debug and tuning parameters in debugfs" 73994025caSJeremy Fitzhardinge depends on XEN && DEBUG_FS 74994025caSJeremy Fitzhardinge help 75994025caSJeremy Fitzhardinge Enable statistics output and various tuning options in debugfs. 76994025caSJeremy Fitzhardinge Enabling this option may incur a significant performance overhead. 7780df4649SMaxim Uvarov 78ddc416cbSMukesh Rathorconfig XEN_PVH 7934aff145SJason Andryuk bool "Xen PVH guest support" 807243b933SBoris Ostrovsky depends on XEN && XEN_PVHVM && ACPI 817733607fSMaran Wilson select PVH 82ddc416cbSMukesh Rathor def_bool n 8334aff145SJason Andryuk help 8434aff145SJason Andryuk Support for running as a Xen PVH guest. 85*cae7d81aSJan Beulich 86*cae7d81aSJan Beulichconfig XEN_DOM0 87*cae7d81aSJan Beulich bool "Xen Dom0 support" 88*cae7d81aSJan Beulich default XEN_PV 89*cae7d81aSJan Beulich depends on (XEN_PV && SWIOTLB_XEN) || (XEN_PVH && X86_64) 90*cae7d81aSJan Beulich depends on X86_IO_APIC && ACPI && PCI 91*cae7d81aSJan Beulich select X86_X2APIC if XEN_PVH && X86_64 92*cae7d81aSJan Beulich help 93*cae7d81aSJan Beulich Support running as a Xen Dom0 guest. 94