From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Elena Ufimtseva <elena.ufimtseva@oracle.com>,
Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Tim Deegan <tim@xen.org>,
xen-devel <xen-devel@lists.xenproject.org>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
roger.pau@citrix.com
Subject: Re: [Draft A] Boot ABI for HVM guests without a device-model
Date: Fri, 12 Jun 2015 09:30:21 -0400 [thread overview]
Message-ID: <20150612133021.GC15651@l.oracle.com> (raw)
In-Reply-To: <5579526302000078000835E0@mail.emea.novell.com>
On Thu, Jun 11, 2015 at 08:18:27AM +0100, Jan Beulich wrote:
> >>> On 10.06.15 at 20:55, <konrad.wilk@oracle.com> wrote:
> > On Wed, Jun 10, 2015 at 02:34:00PM +0200, Roger Pau Monné wrote:
> >> The first three notes contain information about the guest kernel and
> >> the Xen hypercall ABI version. The following notes are of special
> >> interest:
> >>
> >> * XEN_ELFNOTE_PADDR_OFFSET: the offset of the ELF paddr field from the
> >> actual required physical address.
> >> * XEN_ELFNOTE_PADDR_ENTRY: the 32bit entry point into the kernel.
> >
> > Is 'P' suppose to be 'physical' ?
> >
> > I am not sure how this will work with an ELF 64-bit binary like
> > the Linux kernel. Usually we use the virtual address but with
> > us starting in 32-bit mode with an 64-bit virtual address won't work.
>
> So first you correctly decode the 'P' as physical, and then you're
> concerned about _virtual_ addresses? The Linux ELF PHDR has
> perfectly valid virtual _and_ physical addresses in it afaict.
>
> >> Note that the boot protocol resembles the multiboot1 specification,
> >> this is done so OSes with multiboot1 entry points can reuse those if
> >> desired. Also note that the processor starts with paging disabled,
> >> which means that all the memory addresses in the start_info page will
> >> be physical memory addresses.
> >
> > Wow?! Pagetables disabled?! Why? Usually boot loaders start with some
> > pagetables setup for the OS - to cover at least the kernel and the
> > ramdisk. Either it being in 1-1 pagetables or such.
>
> Mind pointing out which boot loaders you think about here? Both
> multiboot variants surely start the OS in non-paged protected
> mode. Of course, UEFI is completely different (because it wants
> itself to run in 64-bit mode).
I was thinking of UEFI. Other ones as you pointed out are more
primitive.
>
> Jan
next prev parent reply other threads:[~2015-06-12 13:30 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é
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 [this message]
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=20150612133021.GC15651@l.oracle.com \
--to=konrad.wilk@oracle.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=roger.pau@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.