Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / arch / x86 / xen / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # This Kconfig describes xen options
4 #
5
6 config XEN
7         bool "Xen guest support"
8         depends on PARAVIRT
9         select PARAVIRT_CLOCK
10         select X86_HV_CALLBACK_VECTOR
11         depends on X86_64 || (X86_32 && X86_PAE)
12         depends on X86_LOCAL_APIC && X86_TSC
13         help
14           This is the Linux Xen port.  Enabling this will allow the
15           kernel to boot in a paravirtualized environment under the
16           Xen hypervisor.
17
18 config XEN_PV
19         bool "Xen PV guest support"
20         default y
21         depends on XEN
22         select PARAVIRT_XXL
23         select XEN_HAVE_PVMMU
24         select XEN_HAVE_VPMU
25         help
26           Support running as a Xen PV guest.
27
28 config XEN_PV_SMP
29         def_bool y
30         depends on XEN_PV && SMP
31
32 config XEN_DOM0
33         bool "Xen PV Dom0 support"
34         default y
35         depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
36         depends on X86_IO_APIC && ACPI && PCI
37         help
38           Support running as a Xen PV Dom0 guest.
39
40 config XEN_PVHVM
41         bool "Xen PVHVM guest support"
42         default y
43         depends on XEN && PCI && X86_LOCAL_APIC
44         help
45           Support running as a Xen PVHVM guest.
46
47 config XEN_PVHVM_SMP
48         def_bool y
49         depends on XEN_PVHVM && SMP
50
51 config XEN_512GB
52         bool "Limit Xen pv-domain memory to 512GB"
53         depends on XEN_PV && X86_64
54         default y
55         help
56           Limit paravirtualized user domains to 512GB of RAM.
57
58           The Xen tools and crash dump analysis tools might not support
59           pv-domains with more than 512 GB of RAM. This option controls the
60           default setting of the kernel to use only up to 512 GB or more.
61           It is always possible to change the default via specifying the
62           boot parameter "xen_512gb_limit".
63
64 config XEN_SAVE_RESTORE
65        bool
66        depends on XEN
67        select HIBERNATE_CALLBACKS
68        default y
69
70 config XEN_DEBUG_FS
71         bool "Enable Xen debug and tuning parameters in debugfs"
72         depends on XEN && DEBUG_FS
73         help
74           Enable statistics output and various tuning options in debugfs.
75           Enabling this option may incur a significant performance overhead.
76
77 config XEN_PVH
78         bool "Support for running as a Xen PVH guest"
79         depends on XEN && XEN_PVHVM && ACPI
80         select PVH
81         def_bool n