]> xenbits.xensource.com Git - people/pauldu/mini-os.git/commit
mini-os: add support for ballooning up
authorJuergen Gross <jgross@suse.com>
Wed, 3 Aug 2016 07:11:37 +0000 (09:11 +0200)
committerWei Liu <wei.liu2@citrix.com>
Thu, 11 Aug 2016 12:09:59 +0000 (13:09 +0100)
commit4433067b93b748f73df15532dd2ba32cdf357dad
treeab555cc9d917729d5cad931f59e327d5eafc89e1
parenta182b1266983d78fdf4095c19c5ebe311231c831
mini-os: add support for ballooning up

Add support for ballooning the domain up by a specified amount of
pages. Following steps are performed:

- extending the p2m map
- extending the page allocator's bitmap
- getting new memory pages from the hypervisor
- adding the memory at the current end of guest memory

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
balloon.c
include/balloon.h
mm.c