All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@suse.de>
To: Jan Beulich <JBeulich@novell.com>
Cc: Xen devel list <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Elf loader fixes
Date: Wed, 22 Feb 2006 17:10:42 +0100	[thread overview]
Message-ID: <43FC8D02.5020908@suse.de> (raw)
In-Reply-To: <43FC919C.76F0.0078.0@novell.com>

>> The elf kernel loader certainly doesn't look like it cares much
>> about virtual address (other than VIRT_BASE) ...
> 
> Correct. And the same applies to boot loaders.

Well, the difference between xen and other boot loaders is that xen
boots the kernel with paging already enabled ...

Right now it's completely broken: the loader works only with virtual
addresses in the paddr header field.  It can't stay that way, especially
if we'll want to have kexec working with xenlinux kernels some day ;)

As I see things there are basically two ways to fixup this: Either
create a simple linear mapping using paddr + VIRT_BASE, which would be
pretty close to the current behaviour (and other boot loaders). Or do a
complete virtual memory setup, which probably can't be done without
major changes in the domain builder ...

cheers,

  Gerd

-- 
Gerd 'just married' Hoffmann <kraxel@suse.de>
I'm the hacker formerly known as Gerd Knorr.
http://www.suse.de/~kraxel/just-married.jpeg

  reply	other threads:[~2006-02-22 16:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22 11:37 [PATCH] Elf loader fixes Gerd Hoffmann
2006-02-22 12:51 ` Jan Beulich
2006-02-22 13:33   ` Gerd Hoffmann
2006-02-22 15:12   ` Gerd Hoffmann
2006-02-22 15:30     ` Jan Beulich
2006-02-22 16:10       ` Gerd Hoffmann [this message]
2006-02-22 16:11         ` Ronald G Minnich
2006-02-22 16:25         ` Jacob Gorm Hansen
     [not found] <E1F6x4v-0001lS-2n@host-192-168-0-1-bcn-london>
2006-02-22 18:17 ` Joe Bonasera
2006-02-23 11:15   ` Gerd Hoffmann
2006-03-01  9:48     ` Christian Limpach
2006-03-01 15:00       ` Gerd Hoffmann
2006-03-06 13:40       ` 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=43FC8D02.5020908@suse.de \
    --to=kraxel@suse.de \
    --cc=JBeulich@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /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.