From: "Edgar E. Iglesias" <edgar.iglesias@axis.com>
To: qemu-devel@nongnu.org
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH][RFC] elf loader: use the virtual address
Date: Sat, 10 Jan 2009 04:45:50 +0100 [thread overview]
Message-ID: <20090110034550.GA26952@edgar.se.axis.com> (raw)
In-Reply-To: <200901091638.59346.paul@codesourcery.com>
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.
next prev parent reply other threads:[~2009-01-10 3:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-09 15:47 [Qemu-devel] [PATCH][RFC] elf loader: use the virtual address Aurelien Jarno
2009-01-09 15:57 ` Laurent Desnogues
2009-01-09 16:24 ` Aurelien Jarno
2009-01-09 23:38 ` Paul Brook
2009-01-10 3:45 ` Edgar E. Iglesias [this message]
2009-01-10 18:35 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090110034550.GA26952@edgar.se.axis.com \
--to=edgar.iglesias@axis.com \
--cc=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).