[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Increase max -kernel size
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] Increase max -kernel size |
Date: |
Tue, 27 Mar 2007 23:27:02 +0100 |
User-agent: |
KMail/1.9.5 |
> > 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.
By my reading grub puts the inirtd at 0x38000000 (896Mb), or at the top of
physical memory, whichever is lowest, and lilo puts it at the top of physical
memory, give or take a bit of alignment.
Paul
- [Qemu-devel] [PATCH] Increase max -kernel size, Gwenole Beauchesne, 2007/03/27
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Daniel Jacobowitz, 2007/03/27
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Thiemo Seufer, 2007/03/27
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Daniel Jacobowitz, 2007/03/27
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Thiemo Seufer, 2007/03/27
- Re: [Qemu-devel] [PATCH] Increase max -kernel size,
Paul Brook <=
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Thiemo Seufer, 2007/03/27
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Daniel Jacobowitz, 2007/03/27
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Paul Brook, 2007/03/28
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Daniel Jacobowitz, 2007/03/31
- Re: [Qemu-devel] [PATCH] Increase max -kernel size, Paul Brook, 2007/03/31