xen: Kconfig: nest Xen guest options
[linux-2.6-microblaze.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         depends on X86_64
23         select PARAVIRT_XXL
24         select XEN_HAVE_PVMMU
25         select XEN_HAVE_VPMU
26         help
27           Support running as a Xen PV guest.
28
29 config XEN_512GB
30         bool "Limit Xen pv-domain memory to 512GB"
31         depends on XEN_PV && X86_64
32         default y
33         help
34           Limit paravirtualized user domains to 512GB of RAM.
35
36           The Xen tools and crash dump analysis tools might not support
37           pv-domains with more than 512 GB of RAM. This option controls the
38           default setting of the kernel to use only up to 512 GB or more.
39           It is always possible to change the default via specifying the
40           boot parameter "xen_512gb_limit".
41
42 config XEN_PV_SMP
43         def_bool y
44         depends on XEN_PV && SMP
45
46 config XEN_DOM0
47         bool "Xen PV Dom0 support"
48         default y
49         depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
50         depends on X86_IO_APIC && ACPI && PCI
51         help
52           Support running as a Xen PV Dom0 guest.
53
54 config XEN_PVHVM
55         def_bool y
56         depends on XEN && X86_LOCAL_APIC
57
58 config XEN_PVHVM_SMP
59         def_bool y
60         depends on XEN_PVHVM && SMP
61
62 config XEN_PVHVM_GUEST
63         bool "Xen PVHVM guest support"
64         default y
65         depends on XEN_PVHVM && PCI
66         help
67           Support running as a Xen PVHVM guest.
68
69 config XEN_SAVE_RESTORE
70         bool
71         depends on XEN
72         select HIBERNATE_CALLBACKS
73         default y
74
75 config XEN_DEBUG_FS
76         bool "Enable Xen debug and tuning parameters in debugfs"
77         depends on XEN && DEBUG_FS
78         help
79           Enable statistics output and various tuning options in debugfs.
80           Enabling this option may incur a significant performance overhead.
81
82 config XEN_PVH
83         bool "Xen PVH guest support"
84         depends on XEN && XEN_PVHVM && ACPI
85         select PVH
86         def_bool n
87         help
88           Support for running as a Xen PVH guest.