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

Re: [Xen-devel] new domain builder breaks compatibility



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 <kraxel@xxxxxxx>
--- 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 (;;)
     {
_______________________________________________
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®.