[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH][RFC] elf loader: use the virtual address
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] [PATCH][RFC] elf loader: use the virtual address |
Date: |
Sat, 10 Jan 2009 04:45:50 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
On Fri, Jan 09, 2009 at 03:38:58PM -0800, Paul Brook wrote:
> > For PowerPC, the kernel needs to be started with address translation
> > enabled (that's even true for the firmware), and thus the kernel loaded
> > at the virtual address.
>
> This sounds wrong.
I agree. It sounds to me like if powerpc linux changed their linking
to produce elf files with correct physical addresses and that makes it hard
for qemu to support both the new and the old images.
Maybe ppc could use the low/highaddr arguments to find out if the kernel
objects really needs to use hte -0xc00000000 offset or no?
my guess is that older kernels need that offset but that the newer ones
dont.