Aravind Menon
2006-Oct-08 03:11 UTC
[Xen-devel] [PATCH] Fix balloon driver for auto_translated_physmap guests
For guest domains running in auto_translated mode, the domain builder maps the guest grant table at the end of its physmap, i.e. from page frame ''nr_pages'' to page frame ''nr_pages + NR_GRANT_FRAMES''. However, the balloon driver, on initialization, appends all page frames from ''nr_pages'' to ''max_pfn'' to its ballooned_pages list (this includes the grant table page frames). This ballooned_pages list is subsequently used for increasing memory reservation. Thus for auto_translated guests, the balloon driver remaps the grant table page frames when it tries to increase the memory reservation. The attached patch fixes the balloon driver for auto_translated mode. Signed-off-by: Aravind Menon <aravind.menon@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel