Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # This Kconfig describes xen options
0004 #
0005 
0006 config XEN
0007         bool "Xen guest support"
0008         depends on PARAVIRT
0009         select PARAVIRT_CLOCK
0010         select X86_HV_CALLBACK_VECTOR
0011         depends on X86_64 || (X86_32 && X86_PAE)
0012         depends on X86_LOCAL_APIC && X86_TSC
0013         help
0014           This is the Linux Xen port.  Enabling this will allow the
0015           kernel to boot in a paravirtualized environment under the
0016           Xen hypervisor.
0017 
0018 config XEN_PV
0019         bool "Xen PV guest support"
0020         default y
0021         depends on XEN
0022         depends on X86_64
0023         select PARAVIRT_XXL
0024         select XEN_HAVE_PVMMU
0025         select XEN_HAVE_VPMU
0026         select GUEST_PERF_EVENTS
0027         help
0028           Support running as a Xen PV guest.
0029 
0030 config XEN_512GB
0031         bool "Limit Xen pv-domain memory to 512GB"
0032         depends on XEN_PV
0033         default y
0034         help
0035           Limit paravirtualized user domains to 512GB of RAM.
0036 
0037           The Xen tools and crash dump analysis tools might not support
0038           pv-domains with more than 512 GB of RAM. This option controls the
0039           default setting of the kernel to use only up to 512 GB or more.
0040           It is always possible to change the default via specifying the
0041           boot parameter "xen_512gb_limit".
0042 
0043 config XEN_PV_SMP
0044         def_bool y
0045         depends on XEN_PV && SMP
0046 
0047 config XEN_PV_DOM0
0048         def_bool y
0049         depends on XEN_PV && XEN_DOM0
0050 
0051 config XEN_PVHVM
0052         def_bool y
0053         depends on XEN && X86_LOCAL_APIC
0054 
0055 config XEN_PVHVM_SMP
0056         def_bool y
0057         depends on XEN_PVHVM && SMP
0058 
0059 config XEN_PVHVM_GUEST
0060         bool "Xen PVHVM guest support"
0061         default y
0062         depends on XEN_PVHVM && PCI
0063         help
0064           Support running as a Xen PVHVM guest.
0065 
0066 config XEN_SAVE_RESTORE
0067         bool
0068         depends on XEN
0069         select HIBERNATE_CALLBACKS
0070         default y
0071 
0072 config XEN_DEBUG_FS
0073         bool "Enable Xen debug and tuning parameters in debugfs"
0074         depends on XEN && DEBUG_FS
0075         help
0076           Enable statistics output and various tuning options in debugfs.
0077           Enabling this option may incur a significant performance overhead.
0078 
0079 config XEN_PVH
0080         bool "Xen PVH guest support"
0081         depends on XEN && XEN_PVHVM && ACPI
0082         select PVH
0083         def_bool n
0084         help
0085           Support for running as a Xen PVH guest.
0086 
0087 config XEN_DOM0
0088         bool "Xen Dom0 support"
0089         default XEN_PV
0090         depends on (XEN_PV && SWIOTLB_XEN) || (XEN_PVH && X86_64)
0091         depends on X86_IO_APIC && ACPI && PCI
0092         select X86_X2APIC if XEN_PVH && X86_64
0093         help
0094           Support running as a Xen Dom0 guest.