All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Ostrowski <mostrows@watson.ibm.com>
To: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
	xen-devel@lists.sourceforge.net, ian.pratt@cl.cam.ac.uk
Subject: Re: RFC/Patch: Support for other bootloaders
Date: Mon, 21 Mar 2005 18:35:36 -0500	[thread overview]
Message-ID: <1111448136.4293.173.camel@brick.watson.ibm.com> (raw)
In-Reply-To: <20050321230147.GA1550@cray.cl.cam.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

On Mon, 2005-03-21 at 23:01 +0000, Tim Deegan wrote:
> On Mon, Mar 21, 2005 at 09:57:39PM -0000, Ian Pratt wrote:
> > As I recall, mbootpack uses Linux's x86 BIOS code too, so this shouldn't
> > be an issue. 
> 
> mbootpack does have a number of changes to the linux boot code, in order
> to prepare a Multiboot environment; this might be a bit heavyweight as I
> don't imagine is has much use apart from for Xen.
> 
> > Is there a downside I haven't spotted?
> 

I think it boils down to an argument of whether or not the boot_params
approach used between setup.S and vmlinux can be supported with minimal
code.  As I said before, and as you can see from the code I posted, I
don't think it is very difficult to do.  I would argue that the
complexity of Xen handling boot_params is lower than that of assembly
code in mbootpack's setup.S to setup a multiboot environment.

Additionally, if you are willing to take the boot_param's as provided by
Linux's setup.S, then you also inherit all of the BIOS probe data that
setup.S performed.  Currently, only the E820 data is used, but
conceivably one could export some of this data to dom0, as it doesn't
get to run the BIOS probes as a bare-metal Linux would.  (I don't how
important such data is though.)

> The xenlinux image, command-lines and initrd can't be altered at boot
> time; it looks like Michal's approach has this problem too.
> 
Agreed.  

-- 
Michal Ostrowski <mostrows@watson.ibm.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-03-21 23:35 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21 21:57 RFC/Patch: Support for other bootloaders Ian Pratt
2005-03-21 23:01 ` Tim Deegan
2005-03-21 23:35   ` Michal Ostrowski [this message]
2005-03-22  9:17     ` Keir Fraser
2005-03-22  0:08   ` Michal Ostrowski
  -- strict thread matches above, loose matches on Subject: below --
2005-03-23 17:30 Ian Pratt
2005-03-24 14:27 ` Michal Ostrowski
2005-03-23 15:52 Ian Pratt
2005-03-23 16:10 ` Michal Ostrowski
2005-03-23 16:23 ` Tim Deegan
2005-03-23 16:44   ` Michal Ostrowski
2005-03-23 16:57   ` Anthony Liguori
2005-03-23 16:56 ` Jeremy Katz
2005-03-23 23:39   ` Michal Ostrowski
2005-03-22  9:29 Ian Pratt
2005-03-22 14:18 ` Michal Ostrowski
2005-03-22 14:42   ` Tim Deegan
2005-03-22 15:05     ` Michal Ostrowski
2005-03-23 11:20     ` Tim Deegan
2005-03-23 13:00       ` Michal Ostrowski
2005-03-23 16:09       ` Anthony Liguori
2005-03-21 15:46 Michal Ostrowski
2005-03-21 16:26 ` Tim Deegan
2005-03-21 21:04   ` Michal Ostrowski
2005-03-23 20:40 ` Christian Limpach
2005-03-23 23:15   ` Michal Ostrowski
2005-03-21 12:15 Michal Ostrowski

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=1111448136.4293.173.camel@brick.watson.ibm.com \
    --to=mostrows@watson.ibm.com \
    --cc=Tim.Deegan@cl.cam.ac.uk \
    --cc=ian.pratt@cl.cam.ac.uk \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.sourceforge.net \
    /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.