8006ec3e91
Add a config option to set the max size of a Xen domain. This is used to scale the size of the physical-to-machine array; it ends up using around 1 page/GByte, so there's no reason to be very restrictive. For a 32-bit guest, the default value of 8GB is probably sufficient; there's not much point in giving a 32-bit machine much more memory than that. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
23 lines
711 B
Plaintext
23 lines
711 B
Plaintext
#
|
|
# This Kconfig describes xen options
|
|
#
|
|
|
|
config XEN
|
|
bool "Xen guest support"
|
|
select PARAVIRT
|
|
depends on X86_32
|
|
depends on X86_CMPXCHG && X86_TSC && X86_PAE && !(X86_VISWS || X86_VOYAGER)
|
|
help
|
|
This is the Linux Xen port. Enabling this will allow the
|
|
kernel to boot in a paravirtualized environment under the
|
|
Xen hypervisor.
|
|
|
|
config XEN_MAX_DOMAIN_MEMORY
|
|
int "Maximum allowed size of a domain in gigabytes"
|
|
default 8
|
|
depends on XEN
|
|
help
|
|
The pseudo-physical to machine address array is sized
|
|
according to the maximum possible memory size of a Xen
|
|
domain. This array uses 1 page per gigabyte, so there's no
|
|
need to be too stingy here. |