All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	Rusty Russell <rusty@rustcorp.com.au>,
	Chris Wright <chrisw@sous-sol.org>,
	Virtualization Mailing List <virtualization@lists.osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Extending boot protocol & bzImage for paravirt_ops
Date: Fri, 01 Jun 2007 18:02:12 -0700	[thread overview]
Message-ID: <4660C194.4010003@zytor.com> (raw)
In-Reply-To: <4660C0CD.5060606@goop.org>

Jeremy Fitzhardinge wrote:
> 
> Just to clarify:
> 
> In my proposal is that we have bzImage structured something like (where
> "|" is concatenation, and "()" is a  blob containing stuff):
> 
>     bzImage = 16-bit setup | ELF file (decompressor, compressed kernel)
>       
> 
> With the intention that 32-bit only bootloader always loads the ELF file
> as-is and just runs it.  Aside from the fact that its an ELF file,
> there's nothing else about it which really concerns the bootloader,
> since once its loaded and running, it does all its own setup.  Its not
> clear that code32_start really means much in this case, though I guess
> it could point to the same place as the ELF file's entrypoint.
> 

It would have to, because of the way code32_start is defined to work.
We don't get control again after its use as a hook.

> Whereas you're proposing:
> 
>     bzImage = 16-bit setup | decompressor | compressed kernel (ELF file)
>       
> 
> where code32_start points to the decompressor, and some other pointer
> points to the compressed kernel data.  And your intent is that an
> external bootloader could also interpret the compressed kernel image,
> and identify what format its in and handle it appropriately from
> outside.  Right?

Correct.

> In both cases, it seems to me that we need an extra boot_param pointer
> to point to the offset of the payload blob (ELF file in my case,
> compressed kernel in yours).  Yes?

Indeed.

	-hpa

  reply	other threads:[~2007-06-02  1:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25 15:06 Extending boot protocol & bzImage for paravirt_ops Jeremy Fitzhardinge
2007-05-25 16:46 ` Eric W. Biederman
2007-05-25 16:46   ` Eric W. Biederman
2007-05-26 10:18   ` Rusty Russell
2007-05-26 20:42     ` H. Peter Anvin
2007-05-26 23:47     ` Jeremy Fitzhardinge
2007-05-26 23:47       ` Jeremy Fitzhardinge
2007-05-27  0:10       ` Rusty Russell
2007-05-27  0:15         ` H. Peter Anvin
2007-05-27  0:15           ` H. Peter Anvin
2007-05-26 23:47   ` Jeremy Fitzhardinge
2007-05-27  0:14     ` H. Peter Anvin
2007-05-27  0:19       ` Jeremy Fitzhardinge
2007-05-27  0:19         ` Jeremy Fitzhardinge
2007-05-30 23:16   ` Jeremy Fitzhardinge
2007-05-31  8:08     ` Vivek Goyal
2007-05-31  8:08       ` Vivek Goyal
2007-06-01 20:55   ` Jeremy Fitzhardinge
2007-06-01 21:40     ` H. Peter Anvin
2007-06-01 21:40       ` H. Peter Anvin
2007-06-01 21:47       ` Jeremy Fitzhardinge
2007-06-01 21:57         ` H. Peter Anvin
2007-06-01 21:57           ` H. Peter Anvin
2007-06-02  0:37           ` Jeremy Fitzhardinge
2007-06-02  0:37             ` Jeremy Fitzhardinge
2007-06-02  0:42             ` H. Peter Anvin
2007-06-02  0:58               ` Jeremy Fitzhardinge
2007-06-02  1:02                 ` H. Peter Anvin [this message]
2007-06-02  1:08                   ` Jeremy Fitzhardinge
2007-06-02  1:17                     ` Eric W. Biederman

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=4660C194.4010003@zytor.com \
    --to=hpa@zytor.com \
    --cc=chrisw@sous-sol.org \
    --cc=ebiederm@xmission.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.osdl.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.