All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Dennis Gilmore <dennis@gilmore.net.au>
Cc: cross-distro <cross-distro@lists.linaro.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Rob Herring <rob.herring@linaro.org>,
	Peter Maydell <peter.maydell@linaro.org>,
	"marc.zyngier@arm.com" <marc.zyngier@arm.com>,
	Grant Likely <grant.likely@linaro.org>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	Robie Basak <robie.basak@canonical.com>,
	Stefano Stabellini <stefano.stabellini@citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	Michael Casadevall <Michael.casadevall@linaro.org>,
	Christoffer Dall <christoffer.dall@linaro.org>
Subject: Re: [RFC] ARM VM System Sepcification
Date: Thu, 27 Feb 2014 17:34:33 +0000	[thread overview]
Message-ID: <CACxGe6sQd7VFQtjoNsAtYB=-87ZTOZ73B_s7QFcggSdm39U-mA@mail.gmail.com> (raw)
In-Reply-To: <20140226151536.58154704@anubis.ausil.us>

On Wed, Feb 26, 2014 at 9:15 PM, Dennis Gilmore <dennis@gilmore.net.au> wrote:
> On Wed, 26 Feb 2014 11:56:53 -0800
> Christoffer Dall <christoffer.dall@linaro.org> wrote:
>
>> [why did you drop everyone from cc here?]
>
> standard reply to list behavior, I would appreciate if you followed it.

Not on the Linaro, infradead or vger lists. We preserve cc's here, always have.

>> On 26 February 2014 11:42, Dennis Gilmore <dennis@gilmore.net.au>
>> wrote:
>> > On Wed, 26 Feb 2014 10:34:54 -0800
>> > Christoffer Dall <christoffer.dall@linaro.org> wrote:
>> Also, I'm afraid "u-boot and look like an existing 32 bit system" is
>> not much of a spec. How does a distro vendor ship an image based on
>> that description that they can be sure will boot?
>
> based on the work to make a standard boot environment I have been
> working on, pass in the u-boot binary and things will work by loading
> config from inside the image and acting just like any system. really
> UEFI is major overkill here and a massive divergence from the real
> world. What is the argument that justifies the divergence?

That's what I used to say all the time until I actually looked at it.
It isn't the horrid monster that many of us feared it would be. There
is a fully open source implementation hosted on sourceforge which is
what I would expect most VM vendors to use directly. It isn't
unreasonably large and it implements sane behaviour.

Remember, we are talking about what is needed to make a portable VM
ecosystem. The folks working on the UEFI spec have spent a lot of time
thinking about how to choose what image to boot from a disk and the
spec is well defined in this regard. That aspect has not been U-Boot's
focus and U-Boot isn't anywhere near as mature as UEFI in that regard
(nor would I expect it to be; embedded has never had the same
incentive to create portable boot images as general purpose machines).

Also, specifying UEFI for this spec does not in any way prevent
someone from running U-Boot in their VM, or executing the kernel
directly. This spec is about a platform for portable images and it is
important to as much as possible specify things like firmware
interfaces without a whole lot of options. Other use-cases can freely
disregard the spec and run whatever they want.

>> Personally I think keeping things uniform across both 32-bit and
>> 64-bit is better, and the GTP/EFI image is a modern standard that
>> should work well.
>
> It means that installers will need special code paths to support being
> installed into virt guests and is not sustainable or supportable. as
> hardware wont work the same way.

Installers already have the EFI code paths, the kernel patches for
both 32 and 64 bit ARM are in-flight and will get merged soon. The
grub patches are done and merged. Installers will work exactly the
same way on real hardware with EFI and on VMs with EFI. It will also
work exactly the same way between x86, ARM and ARM64. What part is
unsustainable?

g.

WARNING: multiple messages have this Message-ID (diff)
From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] ARM VM System Sepcification
Date: Thu, 27 Feb 2014 17:34:33 +0000	[thread overview]
Message-ID: <CACxGe6sQd7VFQtjoNsAtYB=-87ZTOZ73B_s7QFcggSdm39U-mA@mail.gmail.com> (raw)
In-Reply-To: <20140226151536.58154704@anubis.ausil.us>

On Wed, Feb 26, 2014 at 9:15 PM, Dennis Gilmore <dennis@gilmore.net.au> wrote:
> On Wed, 26 Feb 2014 11:56:53 -0800
> Christoffer Dall <christoffer.dall@linaro.org> wrote:
>
>> [why did you drop everyone from cc here?]
>
> standard reply to list behavior, I would appreciate if you followed it.

Not on the Linaro, infradead or vger lists. We preserve cc's here, always have.

>> On 26 February 2014 11:42, Dennis Gilmore <dennis@gilmore.net.au>
>> wrote:
>> > On Wed, 26 Feb 2014 10:34:54 -0800
>> > Christoffer Dall <christoffer.dall@linaro.org> wrote:
>> Also, I'm afraid "u-boot and look like an existing 32 bit system" is
>> not much of a spec. How does a distro vendor ship an image based on
>> that description that they can be sure will boot?
>
> based on the work to make a standard boot environment I have been
> working on, pass in the u-boot binary and things will work by loading
> config from inside the image and acting just like any system. really
> UEFI is major overkill here and a massive divergence from the real
> world. What is the argument that justifies the divergence?

That's what I used to say all the time until I actually looked at it.
It isn't the horrid monster that many of us feared it would be. There
is a fully open source implementation hosted on sourceforge which is
what I would expect most VM vendors to use directly. It isn't
unreasonably large and it implements sane behaviour.

Remember, we are talking about what is needed to make a portable VM
ecosystem. The folks working on the UEFI spec have spent a lot of time
thinking about how to choose what image to boot from a disk and the
spec is well defined in this regard. That aspect has not been U-Boot's
focus and U-Boot isn't anywhere near as mature as UEFI in that regard
(nor would I expect it to be; embedded has never had the same
incentive to create portable boot images as general purpose machines).

Also, specifying UEFI for this spec does not in any way prevent
someone from running U-Boot in their VM, or executing the kernel
directly. This spec is about a platform for portable images and it is
important to as much as possible specify things like firmware
interfaces without a whole lot of options. Other use-cases can freely
disregard the spec and run whatever they want.

>> Personally I think keeping things uniform across both 32-bit and
>> 64-bit is better, and the GTP/EFI image is a modern standard that
>> should work well.
>
> It means that installers will need special code paths to support being
> installed into virt guests and is not sustainable or supportable. as
> hardware wont work the same way.

Installers already have the EFI code paths, the kernel patches for
both 32 and 64 bit ARM are in-flight and will get merged soon. The
grub patches are done and merged. Installers will work exactly the
same way on real hardware with EFI and on VMs with EFI. It will also
work exactly the same way between x86, ARM and ARM64. What part is
unsustainable?

g.

  parent reply	other threads:[~2014-02-27 17:34 UTC|newest]

Thread overview: 222+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-26 18:34 [RFC] ARM VM System Sepcification Christoffer Dall
2014-02-26 18:34 ` Christoffer Dall
2014-02-26 19:27 ` Christopher Covington
2014-02-26 19:27   ` Christopher Covington
2014-02-26 19:51   ` Christoffer Dall
2014-02-26 19:51   ` Christoffer Dall
2014-02-26 19:51     ` Christoffer Dall
2014-02-27 13:12     ` Christopher Covington
2014-02-27 13:12     ` Christopher Covington
2014-02-27 13:12       ` Christopher Covington
2014-02-27 16:02       ` Christoffer Dall
2014-02-27 16:02         ` Christoffer Dall
2014-02-27 16:02       ` Christoffer Dall
2014-03-01 15:41       ` Grant Likely
2014-03-01 15:41         ` Grant Likely
2014-02-26 19:27 ` Christopher Covington
2014-02-26 19:55 ` Arnd Bergmann
2014-02-26 19:55   ` Arnd Bergmann
2014-02-26 20:05   ` Christoffer Dall
2014-02-26 20:05     ` Christoffer Dall
2014-02-26 20:22     ` Arnd Bergmann
2014-02-26 20:22       ` Arnd Bergmann
     [not found]       ` < CABGGisxHOVqLcG7hVAuAzdeic41KWSLLBSjQLSJQcjTXLhNCow@mail.gmail.com>
2014-02-26 21:56       ` Rob Herring
2014-02-26 21:56       ` Rob Herring
2014-02-26 21:56         ` Rob Herring
2014-02-26 22:21         ` Christoffer Dall
2014-02-26 22:21         ` Christoffer Dall
2014-02-26 22:21           ` Christoffer Dall
2014-02-27  7:30           ` Arnd Bergmann
2014-02-27  7:30           ` Arnd Bergmann
2014-02-27  7:30             ` Arnd Bergmann
2014-02-27 10:05             ` Paolo Bonzini
2014-02-27 10:05             ` Paolo Bonzini
2014-02-27 10:05               ` Paolo Bonzini
2014-03-01 19:12           ` Grant Likely
2014-03-01 19:12           ` Grant Likely
2014-03-01 19:12             ` Grant Likely
2014-02-26 20:22     ` Arnd Bergmann
2014-02-27  9:35     ` Catalin Marinas
2014-02-27  9:35       ` Catalin Marinas
2014-02-27  9:35     ` Catalin Marinas
2014-02-26 20:05   ` Christoffer Dall
2014-02-26 20:19   ` Paolo Bonzini
2014-02-26 20:19   ` Paolo Bonzini
2014-02-26 20:19     ` Paolo Bonzini
2014-02-26 20:20     ` Peter Maydell
2014-02-26 20:20       ` Peter Maydell
2014-02-26 20:20     ` Peter Maydell
2014-02-26 21:48   ` Leif Lindholm
2014-02-26 21:48     ` Leif Lindholm
2014-02-26 22:25     ` Christoffer Dall
2014-02-26 22:25       ` Christoffer Dall
2014-03-01 19:20       ` Grant Likely
2014-03-01 19:20       ` Grant Likely
2014-03-01 19:20         ` Grant Likely
2014-02-26 22:25     ` Christoffer Dall
2014-02-27 12:31     ` Stefano Stabellini
2014-02-27 12:31       ` Stefano Stabellini
2014-02-27 14:00       ` Arnd Bergmann
2014-02-27 14:00         ` Arnd Bergmann
2014-02-27 14:24         ` Alexander Graf
2014-02-27 14:24           ` Alexander Graf
2014-02-27 19:56           ` Arnd Bergmann
2014-02-27 19:56           ` Arnd Bergmann
2014-02-27 19:56             ` Arnd Bergmann
2014-02-28  0:05             ` Alexander Graf
2014-02-28  0:05             ` Alexander Graf
2014-02-28  0:05               ` Alexander Graf
2014-02-28 10:01               ` Arnd Bergmann
     [not found]               ` <CB7DBE07-42BD-4588-AC9E-CB0BF95A811A-l3A5Bk7waGM@public.gmane.org>
2014-02-28 10:01                 ` Arnd Bergmann
2014-02-28 10:01                   ` Arnd Bergmann
2014-02-28 13:38                 ` Riku Voipio
2014-02-28 13:38               ` Riku Voipio
2014-02-28 14:44               ` Stefano Stabellini
2014-02-28 14:44                 ` Stefano Stabellini
2014-02-28 14:44               ` Stefano Stabellini
2014-02-27 14:24         ` Alexander Graf
2014-03-01 19:25         ` Grant Likely
2014-03-01 19:25           ` Grant Likely
2014-03-01 19:25         ` Grant Likely
2014-02-27 14:00       ` Arnd Bergmann
2014-02-27 12:31     ` Stefano Stabellini
2014-02-26 21:48   ` Leif Lindholm
2014-02-26 22:49   ` Rob Herring
2014-02-26 22:49     ` Rob Herring
2014-02-26 22:54     ` Peter Maydell
2014-02-26 22:54       ` Peter Maydell
2014-02-26 23:08       ` Rob Herring
2014-02-26 23:08       ` Rob Herring
2014-02-26 23:08         ` Rob Herring
2014-02-26 23:14         ` Peter Maydell
2014-02-26 23:14           ` Peter Maydell
2014-02-27  4:06           ` Nicolas Pitre
2014-02-27  4:06             ` Nicolas Pitre
2014-02-27  4:06           ` Nicolas Pitre
2014-02-26 23:14         ` Peter Maydell
2014-02-27 11:36         ` Robie Basak
2014-02-27 11:36           ` Robie Basak
2014-02-27 11:36         ` Robie Basak
2014-02-26 22:54     ` Peter Maydell
2014-02-26 23:13     ` Christopher Covington
2014-02-26 23:13     ` Christopher Covington
2014-02-26 23:13       ` Christopher Covington
2014-02-26 22:49   ` Rob Herring
2014-02-26 19:55 ` Arnd Bergmann
2014-02-26 21:05 ` Michael Hudson-Doyle
2014-02-26 21:05 ` Michael Hudson-Doyle
2014-02-26 21:05   ` Michael Hudson-Doyle
2014-02-26 21:08   ` Christoffer Dall
2014-02-26 21:08     ` Christoffer Dall
2014-02-26 21:08   ` Christoffer Dall
2014-02-26 22:35 ` Grant Likely
2014-02-26 22:47   ` Christoffer Dall
2014-02-26 22:47     ` Christoffer Dall
2014-02-26 22:47   ` Christoffer Dall
2014-02-27 12:27   ` Stefano Stabellini
2014-02-27 12:27   ` Stefano Stabellini
2014-02-27 12:27     ` Stefano Stabellini
2014-03-01 19:54     ` Grant Likely
2014-02-27 12:55   ` Peter Maydell
2014-02-27 12:55     ` Peter Maydell
2014-02-27 12:55   ` Peter Maydell
2014-02-26 22:35 ` Grant Likely
2014-02-27  0:41 ` Blibbet
2014-02-27  0:41   ` Blibbet
2014-02-27  0:41 ` Blibbet
     [not found] ` <20140226134251.0436294e@anubis.ausil.us>
     [not found]   ` <CAMJs5B9bCs8Oz2Zg4UK--A3H4AaZRPMwy7SpxYom-1--_=qhBQ@mail.gmail.com>
     [not found]     ` <20140226151536.58154704@anubis.ausil.us>
2014-02-27 17:34       ` Grant Likely
2014-02-27 17:34       ` Grant Likely [this message]
2014-02-27 17:34         ` Grant Likely
2014-03-01 15:27 ` Grant Likely
2014-03-01 15:27   ` Grant Likely
2014-03-03  1:13   ` Christoffer Dall
2014-03-03  1:13     ` Christoffer Dall
2014-03-03  1:13   ` Christoffer Dall
2014-03-06  8:52   ` Robie Basak
2014-03-06  8:52   ` Robie Basak
2014-03-06  8:52     ` Robie Basak
2014-03-06  9:46     ` Paolo Bonzini
2014-03-06  9:46       ` Paolo Bonzini
2014-03-06 11:44       ` Laszlo Ersek
2014-03-06 11:44       ` Laszlo Ersek
2014-03-06 11:44         ` Laszlo Ersek
2014-03-06 12:04         ` Robie Basak
2014-03-06 12:04           ` Robie Basak
2014-03-06 12:10           ` Paolo Bonzini
2014-03-06 12:10           ` Paolo Bonzini
2014-03-06 12:10             ` Paolo Bonzini
2014-03-07 12:24           ` Grant Likely
2014-03-06 12:04         ` Robie Basak
     [not found]         ` <20140306120449.GA29916@ mal.justgohome.co.uk>
     [not found]           ` <20140306120449.GA29916-TaX3GuEuUBUVRcMIguc0yNBc4/FLrbF6@public.gmane.org>
2014-03-07 12:24             ` Grant Likely
2014-03-07 12:24               ` Grant Likely
     [not found]               ` < 20140322010206.GF25519@cbox>
2014-03-22  2:29               ` Christoffer Dall
2014-03-22  2:29               ` Christoffer Dall
2014-03-22  2:29                 ` Christoffer Dall
2014-03-22  8:08                 ` Paolo Bonzini
2014-03-22  8:08                 ` Paolo Bonzini
2014-03-22  8:08                   ` Paolo Bonzini
2014-03-23  3:19                   ` Christoffer Dall
2014-03-23  3:19                     ` Christoffer Dall
2014-03-23  3:29                     ` Christoffer Dall
2014-03-23  3:29                     ` Christoffer Dall
2014-03-23  3:29                       ` Christoffer Dall
2014-03-24  9:57                       ` Robie Basak
2014-03-24  9:57                         ` Robie Basak
2014-03-24 10:46                         ` Paolo Bonzini
2014-03-24 10:46                           ` Paolo Bonzini
2014-03-24 10:46                         ` Paolo Bonzini
2014-03-24  9:57                       ` Robie Basak
2014-03-23  3:19                   ` Christoffer Dall
2014-03-22 12:23                 ` Grant Likely
2014-03-22 12:23                   ` Grant Likely
2014-03-22 19:57                   ` Paolo Bonzini
2014-03-22 19:57                     ` Paolo Bonzini
2014-03-22 22:35                     ` Grant Likely
2014-03-22 22:35                       ` Grant Likely
2014-03-22 22:35                     ` Grant Likely
2014-03-22 23:38                     ` Michael Casadevall
2014-03-22 23:38                     ` Michael Casadevall
2014-03-22 23:38                       ` Michael Casadevall
2014-03-23  0:33                       ` Laszlo Ersek
2014-03-23  0:33                       ` Laszlo Ersek
2014-03-23  0:33                         ` Laszlo Ersek
2014-03-22 19:57                   ` Paolo Bonzini
2014-03-23  3:23                   ` Christoffer Dall
2014-03-23  3:23                   ` Christoffer Dall
2014-03-23  3:23                     ` Christoffer Dall
2014-03-24  9:03                   ` Ian Campbell
2014-03-24  9:03                   ` Ian Campbell
2014-03-24  9:03                     ` Ian Campbell
2014-03-24 10:41                     ` Paolo Bonzini
2014-03-24 10:41                     ` Paolo Bonzini
2014-03-24 10:41                       ` Paolo Bonzini
2014-03-24 10:47                       ` Ian Campbell
2014-03-24 10:47                         ` Ian Campbell
2014-03-24 10:47                       ` Ian Campbell
2014-03-24 12:13                     ` Grant Likely
2014-03-24 12:13                     ` Grant Likely
2014-03-24 12:13                       ` Grant Likely
2014-03-24 12:16                       ` Ian Campbell
2014-03-24 12:16                       ` Ian Campbell
2014-03-24 12:16                         ` Ian Campbell
2014-03-22 12:23                 ` Grant Likely
2014-03-07 12:19       ` Grant Likely
2014-03-08 11:41       ` Michael Casadevall
2014-03-08 11:41         ` Michael Casadevall
2014-03-08 20:41         ` Laszlo Ersek
2014-03-08 20:41         ` Laszlo Ersek
2014-03-08 20:41           ` Laszlo Ersek
2014-03-08 11:41       ` Michael Casadevall
2014-03-06  9:46     ` Paolo Bonzini
2014-03-07 12:09     ` Grant Likely
2014-03-07 12:09     ` Grant Likely
2014-03-07 12:09       ` Grant Likely
     [not found]     ` <531843EE. 8040102@redhat.com>
     [not found]       ` <531843EE.8040102-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-03-07 12:19         ` Grant Likely
2014-03-07 12:19           ` Grant Likely
2014-03-01 15:27 ` Grant Likely
     [not found] ` < CACxGe6tjuytsYAn6Hadf0AK+REzHgRydgbHPafL8+Sdtd_tMUA@mail.gmail.com>
     [not found]   ` <alpine .DEB.2.02.1402271216040.31489@kaball.uk.xensource.com>
     [not found]     ` <alpine.DEB.2.02.1402271216040.31489-7Z66fg9igcxYtxbxJUhB2Dgeux46jI+i@public.gmane.org>
2014-03-01 19:54       ` Grant Likely
2014-03-01 19:54         ` Grant Likely
2014-03-02  9:29         ` Peter Maydell
2014-03-02  9:29         ` Peter Maydell
2014-03-02  9:29           ` Peter Maydell
  -- strict thread matches above, loose matches on Subject: below --
2014-02-26 18:34 Christoffer Dall

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='CACxGe6sQd7VFQtjoNsAtYB=-87ZTOZ73B_s7QFcggSdm39U-mA@mail.gmail.com' \
    --to=grant.likely@secretlab.ca \
    --cc=Michael.casadevall@linaro.org \
    --cc=christoffer.dall@linaro.org \
    --cc=cross-distro@lists.linaro.org \
    --cc=dennis@gilmore.net.au \
    --cc=grant.likely@linaro.org \
    --cc=ian.campbell@citrix.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=leif.lindholm@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=marc.zyngier@arm.com \
    --cc=peter.maydell@linaro.org \
    --cc=rob.herring@linaro.org \
    --cc=robie.basak@canonical.com \
    --cc=stefano.stabellini@citrix.com \
    --cc=xen-devel@lists.xen.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.