All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@XenSource.com>
To: Horms <horms@verge.net.au>
Cc: xen-devel@lists.xensource.com
Subject: Re: [POWERPC/IA64] Updates required due to loader changes
Date: Thu, 24 Aug 2006 15:24:10 +0100	[thread overview]
Message-ID: <1156429450.12949.162.camel@localhost.localdomain> (raw)
In-Reply-To: <20060824081103.GF5280@verge.net.au>

On Thu, 2006-08-24 at 17:11 +0900, Horms wrote:
> 
>   2. kexec creates these notes from within the hypervisor,
>      but I beleive that your code has linux create the notes,
>      while the hypervisor just reads them. 

That's right, the notes I'm using are included statically in the kernel
at compile time and are used by the domain builder to create the correct
environment for that kernel. Previously the same data was included as a
string in a special __xen_guest section and the notes are a pretty
direct translation of that.

> I'd really appreciate it if you could take a moment to cast your eyes
> over my elf code. 

I'm not realy an expert on ELF files but FWIW your append_elf_note()
looks like it creates the right note layout to me.

I'm not sure what final_note() is for since I don't think notes are
"NULL-terminated" but rather are constrained by the size of the ELF
section or segment that they are in. Also it could just be a memset ;-)

Ian.

      reply	other threads:[~2006-08-24 14:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 14:00 [POWERPC/IA64] Updates required due to loader changes Ian Campbell
2006-08-23 14:36 ` Ian Campbell
2006-08-23 14:49   ` Tristan Gingold
2006-08-23 18:20     ` Ian Campbell
2006-08-23 17:44   ` Ian Campbell
2006-08-23 18:09     ` Hollis Blanchard
2006-08-23 18:20       ` Ian Campbell
2006-08-24 20:16       ` Alex Williamson
2006-08-24 20:29         ` Hollis Blanchard
2006-08-25  3:21           ` Horms
2006-08-25  9:42             ` Ian Campbell
2006-08-25 16:05               ` Hollis Blanchard
2006-08-26  8:56               ` Horms
2006-08-23 18:29 ` Hollis Blanchard
2006-08-24  2:17 ` Horms
2006-08-24  7:12   ` Ian Campbell
2006-08-24  8:11     ` Horms
2006-08-24 14:24       ` Ian Campbell [this message]

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=1156429450.12949.162.camel@localhost.localdomain \
    --to=ian.campbell@xensource.com \
    --cc=horms@verge.net.au \
    --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.