]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xen: add configurable max domain size
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 26 May 2008 22:31:19 +0000 (23:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 May 2008 08:11:37 +0000 (10:11 +0200)
commit8006ec3e911f93d702e1d4a4e387e244ab434924
tree87c4a8648ff2f559ce039bf606fa40e033c48b3c
parentd451bb7aa852627bdf7be7937dc3d9d9f261b235
xen: add configurable max domain size

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>
arch/x86/xen/Kconfig
arch/x86/xen/mmu.c
arch/x86/xen/setup.c
include/asm-x86/xen/page.h