xen: add configurable max domain size
[linux-2.6] / arch / x86 / xen / Kconfig
1 #
2 # This Kconfig describes xen options
3 #
4
5 config XEN
6         bool "Xen guest support"
7         select PARAVIRT
8         depends on X86_32
9         depends on X86_CMPXCHG && X86_TSC && X86_PAE && !(X86_VISWS || X86_VOYAGER)
10         help
11           This is the Linux Xen port.  Enabling this will allow the
12           kernel to boot in a paravirtualized environment under the
13           Xen hypervisor.
14
15 config XEN_MAX_DOMAIN_MEMORY
16        int "Maximum allowed size of a domain in gigabytes"
17        default 8
18        depends on XEN
19        help
20          The pseudo-physical to machine address array is sized
21          according to the maximum possible memory size of a Xen
22          domain.  This array uses 1 page per gigabyte, so there's no
23          need to be too stingy here.