]> xenbits.xensource.com Git - people/pauldu/mini-os.git/commit
mini-os: remap p2m list in case of ballooning
authorJuergen Gross <jgross@suse.com>
Mon, 1 Aug 2016 07:26:08 +0000 (09:26 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 11 Aug 2016 11:04:12 +0000 (13:04 +0200)
commitdbd00323702911b73e8f04f92a9d1e26c1159bf1
treeede874e245fe87d229a7352da2763b237f78d40f
parentdbd75ee262d382bdcf972567e66feb32aea2db4e
mini-os: remap p2m list in case of ballooning

In case of enabled ballooning we must be prepared for a growing p2m
list. If the maximum memory size of the domain can't be covered by the
actual p2m list remap it to the kernel virtual mapping area and leave
enough space at the end.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
arch/arm/balloon.c
arch/x86/balloon.c
arch/x86/mm.c
include/balloon.h
include/x86/arch_mm.h