From: Gerd Hoffmann <kraxel@suse.de>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Fix ELF entry point (i386)
Date: Fri, 10 Mar 2006 10:58:49 +0100 [thread overview]
Message-ID: <44114DD9.10007@suse.de> (raw)
In-Reply-To: <m1y7zm16nn.fsf@ebiederm.dsl.xmission.com>
Eric W. Biederman wrote:
>
> Ok. The unmerged Xen case.
>
> I have some pending patches that make a bzImage a ET_DYN executable.
> Would that be interesting to you? Especially if that would just mean
> your initial page tables got to set physical == virtual?
i.e. you insert a additional state into the boot process which does the
relocation and page table setup? URL would to the patch be nice, yes.
A paper (or at least a short outline how it works) even better ;)
> I believe Xen does expose the actual physical addresses to the guest.
Well, xen has two modes now: One where the guest knows the machine
addresses and has to translate machine[1] <=> physical[2] addresses.
And one where xen does the translation transparantly. The former
performs better, the later is easier to implement ;)
> Either that or this is a case where Xen probably needs to take a
> different path in the build system.
For the build system it shouldn't matter. Ideally only the code
creating page tables has to care about that. Right now xen creates
old-style ELF binaries (pre-kexec merge) with wrong paddr entries, but
that's fixable (have patches pending for xen).
Unlike real hardware xen virtual machines run with paging enabled all
the time, so you can't just turn off paging to get a identity (phys ==
virt) mapping. That makes things a bit harder sometimes.
Gerd
[1] machine address == physical address of the real hardware.
[2] physical address == physical address of the virtual machine.
--
Gerd 'just married' Hoffmann <kraxel@suse.de>
I'm the hacker formerly known as Gerd Knorr.
http://www.suse.de/~kraxel/just-married.jpeg
next prev parent reply other threads:[~2006-03-10 9:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-22 11:09 [PATCH] Fix ELF entry point (i386) Gerd Hoffmann
2006-03-05 16:34 ` Eric W. Biederman
2006-03-06 13:16 ` Gerd Hoffmann
2006-03-06 19:11 ` Eric W. Biederman
2006-03-07 13:41 ` Gerd Hoffmann
2006-03-07 17:55 ` Eric W. Biederman
2006-03-10 9:58 ` Gerd Hoffmann [this message]
2006-05-11 13:05 ` Gerd Hoffmann
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=44114DD9.10007@suse.de \
--to=kraxel@suse.de \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.