[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH] x86: Support booting a bzImage format domain 0 kernel
On Thu, 2009-01-22 at 11:53 +0100, Ian Campbell wrote: > x86: Support booting a bzImage format domain 0 kernel. I got carried away with some last minute cleanups so you'll need this extra bonus patch. diff -r 7a066b74dd19 xen/arch/x86/bzimage.c --- a/xen/arch/x86/bzimage.c Thu Jan 22 11:51:15 2009 +0000 +++ b/xen/arch/x86/bzimage.c Thu Jan 22 13:19:45 2009 +0000 @@ -201,6 +201,7 @@ int __init bzimage_headroom(char *image_ return err; img = image_start + (hdr->setup_sects+1) * 512; + img += hdr->payload_offset; headroom = gzip_length(img, hdr->payload_length); headroom += headroom >> 12; /* Add 8 bytes for every 32K input block */ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |