From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
xen-devel <xen-devel@lists.xenproject.org>
Cc: Elena Ufimtseva <elena.ufimtseva@oracle.com>,
Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Tim Deegan <tim@xen.org>, Jan Beulich <JBeulich@suse.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: [Draft A] Boot ABI for HVM guests without a device-model
Date: Thu, 11 Jun 2015 10:23:28 +0200 [thread overview]
Message-ID: <55794580.3020208@citrix.com> (raw)
In-Reply-To: <55785E50.8090200@citrix.com>
El 10/06/15 a les 17.57, Andrew Cooper ha escrit:
>>>> Do we want to keep using the start_info page? Most of the fields there
>>>> are not relevant for auto-translated guests, but without it we have to
>>>> figure out how to pass the following information to the guest:
>>>>
>>>> - Flags: SIF_xxx flags, this could probably be done with cpuid instead.
>>>> - cmd_line: ?
>>>> - console mfn: ?
>>>> - console evtchn: ?
>>>> - console_info address: ?
>>> All console information should be available from the HVMPARAMS. I see
>>> no reason to prevent a PVH guest getting at these.
>>>
>>> This just leaves the command line being awkward.
>> I've forgot to add the kernel payload (initramfs), which could also be
>> fetched using a HVMPARAM, so that just leaves the cmd_line, which could
>> be passed as a physical memory address in one of the gp registers. I
>> don't have a strong opinion on whether we should create a new
>> hvm_start_info struct that contains those, or whether we should just add
>> new HVMPARAMS.
>
> I should have remembered as well, as I have a curiously-pvh-like usecase
> which wants similar bits.
>
> The reason I suggested multiboot was for modules and command line
> support. If we are not going for exactly multiboot, but something
> similar, we might want to make a pvh_start_info with a module list and
> cmdline pointer in it.
I don't think we can go for multiboot as-is. It implicitly requires an
ELF32 binary unless you want to setup the address header of multiboot,
and even in that case it lacks a proper way to load a symtab/strtab for
example, which the generic Xen ELF loader has.
Roger.
next prev parent reply other threads:[~2015-06-11 8:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 12:34 [Draft A] Boot ABI for HVM guests without a device-model Roger Pau Monné
2015-06-10 13:15 ` Jan Beulich
2015-06-10 14:53 ` Roger Pau Monné
2015-06-10 15:53 ` Jan Beulich
2015-06-10 15:42 ` Roger Pau Monné
2015-06-11 11:01 ` Tim Deegan
2015-06-10 13:18 ` Andrew Cooper
2015-06-10 15:38 ` Roger Pau Monné
2015-06-10 15:57 ` Andrew Cooper
2015-06-11 8:23 ` Roger Pau Monné [this message]
2015-06-10 18:55 ` Konrad Rzeszutek Wilk
2015-06-10 21:31 ` Andrew Cooper
2015-06-11 8:31 ` Roger Pau Monné
2015-06-11 7:18 ` Jan Beulich
2015-06-12 13:30 ` Konrad Rzeszutek Wilk
2015-06-11 8:43 ` Roger Pau Monné
2015-06-12 13:23 ` Konrad Rzeszutek Wilk
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=55794580.3020208@citrix.com \
--to=roger.pau@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=elena.ufimtseva@oracle.com \
--cc=ian.campbell@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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.