Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
e738fca8 JF |
2 | # |
3 | # This Kconfig describes xen options | |
4 | # | |
5 | ||
6 | config XEN | |
d3d1c4bd | 7 | bool "Xen guest support" |
6276a074 | 8 | depends on PARAVIRT |
1c7b67f7 | 9 | select PARAVIRT_CLOCK |
c5f9ee3d | 10 | depends on X86_64 || (X86_32 && X86_PAE) |
87ffd2b9 | 11 | depends on X86_LOCAL_APIC && X86_TSC |
e738fca8 JF |
12 | help |
13 | This is the Linux Xen port. Enabling this will allow the | |
14 | kernel to boot in a paravirtualized environment under the | |
15 | Xen hypervisor. | |
8006ec3e | 16 | |
5e57f1d6 VK |
17 | config XEN_PV |
18 | bool "Xen PV guest support" | |
19 | default y | |
20 | depends on XEN | |
77ef56e4 KS |
21 | # XEN_PV is not ready to work with 5-level paging. |
22 | # Changes to hypervisor are also required. | |
23 | depends on !X86_5LEVEL | |
5e57f1d6 | 24 | select XEN_HAVE_PVMMU |
50a1062d | 25 | select XEN_HAVE_VPMU |
5e57f1d6 VK |
26 | help |
27 | Support running as a Xen PV guest. | |
28 | ||
33af7469 VK |
29 | config XEN_PV_SMP |
30 | def_bool y | |
31 | depends on XEN_PV && SMP | |
32 | ||
6b0661a5 | 33 | config XEN_DOM0 |
5e57f1d6 VK |
34 | bool "Xen PV Dom0 support" |
35 | default y | |
36 | depends on XEN_PV && PCI_XEN && SWIOTLB_XEN | |
87ffd2b9 | 37 | depends on X86_IO_APIC && ACPI && PCI |
5e57f1d6 VK |
38 | help |
39 | Support running as a Xen PV Dom0 guest. | |
6b0661a5 | 40 | |
ca65f9fc | 41 | config XEN_PVHVM |
5e57f1d6 VK |
42 | bool "Xen PVHVM guest support" |
43 | default y | |
b17d0b5c | 44 | depends on XEN && PCI && X86_LOCAL_APIC |
5e57f1d6 VK |
45 | help |
46 | Support running as a Xen PVHVM guest. | |
ca65f9fc | 47 | |
a52482d9 VK |
48 | config XEN_PVHVM_SMP |
49 | def_bool y | |
50 | depends on XEN_PVHVM && SMP | |
51 | ||
c70727a5 JG |
52 | config XEN_512GB |
53 | bool "Limit Xen pv-domain memory to 512GB" | |
5e57f1d6 | 54 | depends on XEN_PV && X86_64 |
c70727a5 JG |
55 | default y |
56 | help | |
57 | Limit paravirtualized user domains to 512GB of RAM. | |
58 | ||
59 | The Xen tools and crash dump analysis tools might not support | |
60 | pv-domains with more than 512 GB of RAM. This option controls the | |
61 | default setting of the kernel to use only up to 512 GB or more. | |
62 | It is always possible to change the default via specifying the | |
63 | boot parameter "xen_512gb_limit". | |
93a0886e JF |
64 | |
65 | config XEN_SAVE_RESTORE | |
66 | bool | |
1eb208ae | 67 | depends on XEN |
d419e4c0 | 68 | select HIBERNATE_CALLBACKS |
994025ca JF |
69 | default y |
70 | ||
71 | config XEN_DEBUG_FS | |
72 | bool "Enable Xen debug and tuning parameters in debugfs" | |
73 | depends on XEN && DEBUG_FS | |
74 | default n | |
75 | help | |
76 | Enable statistics output and various tuning options in debugfs. | |
08115ab4 | 77 | Enabling this option may incur a significant performance overhead. |
80df4649 | 78 | |
ddc416cb MR |
79 | config XEN_PVH |
80 | bool "Support for running as a PVH guest" | |
7243b933 | 81 | depends on XEN && XEN_PVHVM && ACPI |
77ef56e4 KS |
82 | # Pre-built page tables are not ready to handle 5-level paging. |
83 | depends on !X86_5LEVEL | |
ddc416cb | 84 | def_bool n |