[libvirt] [PATCH v2 07/15] qemu: Introduce basic skeleton for parsing firmware description

Daniel P. Berrangé berrange at redhat.com
Mon Mar 11 15:06:27 UTC 2019


On Thu, Mar 07, 2019 at 10:29:17AM +0100, 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 at redhat.com>
> ---
>  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

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list