From: John Levon Subject: Re: new domain builder breaks compatibility Date: Thu, 1 Feb 2007 14:55:17 +0000 Message-ID: <20070201145517.GA26562@totally.trollied.org.uk> References: <20070131214843.GB15106@totally.trollied.org.uk> <45C1AD2B.7070002@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <45C1AD2B.7070002@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Feb 01, 2007 at 10:04:43AM +0100, Gerd Hoffmann wrote: > John Levon wrote: > > To quote xen.h: > > > > 495 * 9. There is guaranteed to be at least 512kB padding after the final > > 496 * bootstrap element. If necessary, the bootstrap virtual region is > > 497 * extended by an extra 4MB to ensure this. > > > which, predictably enough, breaks Solaris, which tries to use this area as > > ecratch memory during early boot. > > The attached patch should fix this. Does that ensure the 4Mb alignment too? We're expecting: scratch_end = RNDUP((paddr_t)scratch_start + 512 * 1024, FOUR_MEG); BTW what is dom->extra_pages intended for? thanks, john