Re: [PATCH v1 07/15] qemu: Introduce basic skeleton for parsing firmware description

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

 



On 02/27/19 11:04, Michal Privoznik wrote:
> The firmware description is a JSON file which follows
> specification from qemu.git/docs/interop/firmware.json. The
> description file basically says: Firmware file X is {bios|uefi},
> supports these targets and machine types, requires these features
> to be enabled on qemu cmd line and this is how you put it onto
> qemu cmd line.
> 
> The firmware.json specification covers more (i.e. how to select
> the right firmware) but that will be covered and implemented in
> next commits.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/Makefile.inc.am |   2 +
>  src/qemu/qemu_firmware.c | 901 +++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_firmware.h |  40 ++
>  3 files changed, 943 insertions(+)
>  create mode 100644 src/qemu/qemu_firmware.c
>  create mode 100644 src/qemu/qemu_firmware.h

Wow. I assumed the parser for the schema could be auto-generated from
the schema JSON. Isn't that the case with the QMP commands and events?

Thanks
Laszlo

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux