qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [qemu RFC v2] qapi: add "firmware.json"


From: David Gibson
Subject: Re: [Qemu-devel] [qemu RFC v2] qapi: add "firmware.json"
Date: Thu, 19 Apr 2018 10:09:00 +1000

On Wed, 18 Apr 2018 10:32:06 +0200
Laszlo Ersek <address@hidden> wrote:

> On 04/18/18 08:02, Gerd Hoffmann wrote:
>  [...]  
>  [...]  
> >
> > Looks good to me overall.
> >  
> >> +{ 'enum' : 'FirmwareType',
> >> +  'data' : [ 'bios', 'slof', 'uboot', 'uefi' ] }  
> >
> > openbios missing.
> >  
> >> +{ 'enum' : 'FirmwareArchitecture',
> >> +  'data' : [ 'aarch64', 'arm', 'i386', 'x86_64' ] }  
> >
> > ppc(64) missing (but you have slof above ;) ...
> > s390 too.  
> 
> I figured those would be contributed by people that actually use them,
> as separate patches :) In fact I would rather prefer removing "slof" and
> "uboot" from this initial version, because I have zero clue about them.

I've only been able to skim this discussion, so apologies if I've
missed things.  I'm pretty unclear on the overall purpose of this, but
in particular this FirmwareType field seems pretty weird.

Specifically the things in the list don't really seem comparable to
each other: UEFI is a specified interface, BIOS is a de-facto
interface.  So far so good.  But SLOF is a specific implementation of
Open Firmware (of which we have a couple of other partial
implementations used for other qemu platforms).  U-Boot is somewhere in
between the two, a specific implementation that defines a fair bunch of
its own interfaces.

-- 
David Gibson <address@hidden>
Principal Software Engineer, Virtualization, Red Hat

Attachment: pgp3Sp3_OGJ40.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]