xen: allow more than 512 GB of RAM for 64 bit pv-domains
[firefly-linux-kernel-4.4.55.git] / arch / x86 / xen / Kconfig
1 #
2 # This Kconfig describes xen options
3 #
4
5 config XEN
6         bool "Xen guest support"
7         depends on PARAVIRT
8         select PARAVIRT_CLOCK
9         select XEN_HAVE_PVMMU
10         depends on X86_64 || (X86_32 && X86_PAE)
11         depends on X86_TSC
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.
16
17 config XEN_DOM0
18         def_bool y
19         depends on XEN && PCI_XEN && SWIOTLB_XEN
20         depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
21
22 config XEN_PVHVM
23         def_bool y
24         depends on XEN && PCI && X86_LOCAL_APIC
25
26 config XEN_512GB
27         bool "Limit Xen pv-domain memory to 512GB"
28         depends on XEN && X86_64
29         default y
30         help
31           Limit paravirtualized user domains to 512GB of RAM.
32
33           The Xen tools and crash dump analysis tools might not support
34           pv-domains with more than 512 GB of RAM. This option controls the
35           default setting of the kernel to use only up to 512 GB or more.
36           It is always possible to change the default via specifying the
37           boot parameter "xen_512gb_limit".
38
39 config XEN_SAVE_RESTORE
40        bool
41        depends on XEN
42        select HIBERNATE_CALLBACKS
43        default y
44
45 config XEN_DEBUG_FS
46         bool "Enable Xen debug and tuning parameters in debugfs"
47         depends on XEN && DEBUG_FS
48         default n
49         help
50           Enable statistics output and various tuning options in debugfs.
51           Enabling this option may incur a significant performance overhead.
52
53 config XEN_PVH
54         bool "Support for running as a PVH guest"
55         depends on X86_64 && XEN && XEN_PVHVM
56         def_bool n