xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Daniel Kiper <daniel.kiper@oracle.com>, Jan Beulich <JBeulich@suse.com>
Cc: xen-devel@lists.xensource.com, keir@xen.org,
	ian.campbell@citrix.com,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	stefano.stabellini@eu.citrix.com
Subject: Re: New Xen boot infrastructure proposal
Date: Wed, 22 May 2013 17:40:15 +0100	[thread overview]
Message-ID: <CDC2B37F.53608%keir.xen@gmail.com> (raw)
In-Reply-To: <20130522155916.GG25607@debian70-amd64.local.net-space.pl>

On 22/05/2013 16:59, "Daniel Kiper" <daniel.kiper@oracle.com> wrote:

> On Wed, May 22, 2013 at 04:10:17PM +0100, Jan Beulich wrote:
>>>>> On 22.05.13 at 16:43, Daniel Kiper <daniel.kiper@oracle.com> wrote:
>>> For example it will be very difficult to
>>> pass (in sensible way), from preloader to Xen, info about ACPI and EFI
>>> stuff.
>> 
>> Why do you think this is going to be "very difficult"? It's a list of
>> elements (very much like the enumerated concept I had thought
>> of [without having looked at grub2 yet at that point; now I have]
>> and that you had asked back about. All we'd need to do is iterate
>> over the array of blocks and stash away the information we care
>> about (into existing variables where possible, and into newly
>> created ones otherwise).
> 
> I though more about taste (that is why I added remark: in sensible way)
> than about implementation which is of course quiet simple. We could
> solve the problem of passing info for which place does not exists
> in MBI at least in three ways:
>   - create next global variable which is awful for me (or use
>     if it exists but is awful too),
>   - pass this multiboot2 stuff almost directly (in real it must
>     be copied to safe place; in multiboot protocol case required
>     stuff is copied to trampoline); you mentioned about that in
>     other email; better but not nice for me,
>   - preloader should extract all needed stuff from structures
>     passed by multiboot or multiboot2 protocol and put it in
>     boot protocol independent struct which is then passed to
>     __start_xen(); best for me; I described why in other emails.

This third option is fine by me, but it is just a big struct to be passed to
Xen. The extensible self-describing list format, and architecture
independence, don't really add value that I can see.

If I were implementing this, I'd probably start by making a new struct that
is a copy of multiboot_info, extend and modify fields as necessary, job
done. Quite simple, won't be much to argue against when the patches are
posted for review, everyone happy. ;)

 -- Keir

> Daniel

      reply	other threads:[~2013-05-22 16:40 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21 10:36 New Xen boot infrastructure proposal Daniel Kiper
2013-05-21 11:39 ` Stefano Stabellini
2013-05-21 12:57   ` Daniel Kiper
2013-05-21 12:03 ` Jan Beulich
2013-05-22 14:09   ` Daniel Kiper
2013-05-22 14:33     ` Jan Beulich
2013-05-22 15:01       ` Daniel Kiper
2013-05-22 15:16         ` Jan Beulich
2013-05-22 16:47           ` Konrad Rzeszutek Wilk
2013-05-22 16:56             ` Keir Fraser
2013-05-23  6:37             ` Jan Beulich
2013-05-21 12:43 ` David Vrabel
2013-05-22 14:19   ` Daniel Kiper
2013-05-21 12:52 ` Ian Campbell
2013-05-22 14:27   ` Daniel Kiper
2013-05-22 14:35     ` Jan Beulich
2013-05-22 15:09     ` Ian Campbell
2013-05-22 15:25       ` Ian Campbell
2013-05-22 15:34         ` Daniel Kiper
2013-05-22 15:41           ` Ian Campbell
2013-05-22 16:19             ` Daniel Kiper
2013-05-23 13:33               ` Ian Campbell
2013-05-21 13:24 ` Keir Fraser
2013-05-22 14:43   ` Daniel Kiper
2013-05-22 15:10     ` Jan Beulich
2013-05-22 15:59       ` Daniel Kiper
2013-05-22 16:40         ` Keir Fraser [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=CDC2B37F.53608%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=daniel.kiper@oracle.com \
    --cc=ian.campbell@citrix.com \
    --cc=keir@xen.org \
    --cc=konrad.wilk@oracle.com \
    --cc=stefano.stabellini@eu.citrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).