qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Increase max -kernel size


From: Thiemo Seufer
Subject: Re: [Qemu-devel] [PATCH] Increase max -kernel size
Date: Wed, 28 Mar 2007 00:35:18 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Paul Brook wrote:
> > > Note, that does not readily work - this is where we load the
> > > compressed kernel image and initrd, but what matters is the size it
> > > gets uncompressed to.
> >
> > I think what matters is the space taken by (uncompressed and loaded)
> > kernel ALLOC segments. Everything above that should be ok to load a
> > ramdisk.
> >
> > IOW, the ELF loader would need to return the topmost address it came
> > across, including .bss-like parts. The up-aligned value would become
> > the initrd load address.
> 
> That only works if qemu is loading the uncomplressed ELF vmlinux image 
> directly. In most cases it will be loading a binary blob (or ELF file) of the 
> compressed zImage. In this case it has no way of telling how big the final 
> kernel ALLOC sections are.

Right, a piggyback-style loader would likely fail in that case.


Thiemo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]