[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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>

Attachment: balloon.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.