[libvirt] [qemu RFC v2] qapi: add "firmware.json"

David Gibson dgibson at redhat.com
Thu Apr 19 00:09:00 UTC 2018


On Wed, 18 Apr 2018 10:32:06 +0200
Laszlo Ersek <lersek at redhat.com> 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 <dgibson at redhat.com>
Principal Software Engineer, Virtualization, Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180419/e76faedc/attachment-0001.sig>


More information about the libvir-list mailing list