WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix balloon driver for auto_translated_physmap guest

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix balloon driver for auto_translated_physmap guests
From: Aravind Menon <aravind.menon@xxxxxxx>
Date: Sun, 08 Oct 2006 05:11:37 +0200
Delivery-date: Mon, 09 Oct 2006 03:26:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix balloon driver for auto_translated_physmap guests, Aravind Menon <=