]>
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 |
ecca2502 | 10 | select X86_HV_CALLBACK_VECTOR |
c5f9ee3d | 11 | depends on X86_64 || (X86_32 && X86_PAE) |
87ffd2b9 | 12 | depends on X86_LOCAL_APIC && X86_TSC |
e738fca8 JF |
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. | |
8006ec3e | 17 | |
5e57f1d6 VK |
18 | config XEN_PV |
19 | bool "Xen PV guest support" | |
20 | default y | |
21 | depends on XEN | |
c00a280a | 22 | select PARAVIRT_XXL |
5e57f1d6 | 23 | select XEN_HAVE_PVMMU |
50a1062d | 24 | select XEN_HAVE_VPMU |
5e57f1d6 VK |
25 | help |
26 | Support running as a Xen PV guest. | |
27 | ||
33af7469 VK |
28 | config XEN_PV_SMP |
29 | def_bool y | |
30 | depends on XEN_PV && SMP | |
31 | ||
6b0661a5 | 32 | config XEN_DOM0 |
5e57f1d6 VK |
33 | bool "Xen PV Dom0 support" |
34 | default y | |
35 | depends on XEN_PV && PCI_XEN && SWIOTLB_XEN | |
87ffd2b9 | 36 | depends on X86_IO_APIC && ACPI && PCI |
5e57f1d6 VK |
37 | help |
38 | Support running as a Xen PV Dom0 guest. | |
6b0661a5 | 39 | |
ca65f9fc | 40 | config XEN_PVHVM |
5e57f1d6 VK |
41 | bool "Xen PVHVM guest support" |
42 | default y | |
b17d0b5c | 43 | depends on XEN && PCI && X86_LOCAL_APIC |
5e57f1d6 VK |
44 | help |
45 | Support running as a Xen PVHVM guest. | |
ca65f9fc | 46 | |
a52482d9 VK |
47 | config XEN_PVHVM_SMP |
48 | def_bool y | |
49 | depends on XEN_PVHVM && SMP | |
50 | ||
c70727a5 JG |
51 | config XEN_512GB |
52 | bool "Limit Xen pv-domain memory to 512GB" | |
5e57f1d6 | 53 | depends on XEN_PV && X86_64 |
c70727a5 JG |
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". | |
93a0886e JF |
63 | |
64 | config XEN_SAVE_RESTORE | |
65 | bool | |
1eb208ae | 66 | depends on XEN |
d419e4c0 | 67 | select HIBERNATE_CALLBACKS |
994025ca JF |
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 | |
994025ca JF |
73 | help |
74 | Enable statistics output and various tuning options in debugfs. | |
08115ab4 | 75 | Enabling this option may incur a significant performance overhead. |
80df4649 | 76 | |
ddc416cb | 77 | config XEN_PVH |
7733607f | 78 | bool "Support for running as a Xen PVH guest" |
7243b933 | 79 | depends on XEN && XEN_PVHVM && ACPI |
7733607f | 80 | select PVH |
ddc416cb | 81 | def_bool n |