From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: xend, 8MB video memory and ballooning Date: Fri, 18 Jul 2008 16:47:08 +0100 Message-ID: <20080718154708.GD4456@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hello, There's an issue when starting an HVM domain and quickly after, another domain: - xend asks the balloon driver to free enough memory for the HVM domain plus 8MB for the video memory. - before the HVM domain actually starts running (e.g. qemu long to start), I start another domain, xend asks the balloon driver to free enough memory for that other domain, but no more. - the HVM domain eventually starts, the Cirrus VGA BIOS activates the video LFB, and thus qemu tries to call populate physmap in order to actually make use of the extra 8MB for the video memory. Problem: the 8MB extra free memory has been swallowed by the other domain... (of course, my concern is about the device model stubdomain starting right after the HVM domain, but I guess that may happen in other cases too). Samuel