From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: new domain builder breaks compatibility Date: Thu, 01 Feb 2007 10:04:43 +0100 Message-ID: <45C1AD2B.7070002@suse.de> References: <20070131214843.GB15106@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070003030603010001010403" Return-path: In-Reply-To: <20070131214843.GB15106@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070003030603010001010403 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. cheers, Gerd -- Gerd Hoffmann --------------070003030603010001010403 Content-Type: text/plain; name="padding-fix" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="padding-fix" --- tools/libxc/xc_dom_x86.c~ 2007-01-31 18:07:56.000000000 +0100 +++ tools/libxc/xc_dom_x86.c 2007-02-01 10:02:08.000000000 +0100 @@ -66,6 +66,7 @@ extra_pages = dom->alloc_bootstack ? 1 : 0; extra_pages += dom->extra_pages; + extra_pages += 128; /* 512kB padding */ pages = extra_pages; for (;;) { --------------070003030603010001010403 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070003030603010001010403--