[PATCH v3 1/6] conf: Add firmware blob configuration

Daniel P. Berrangé berrange at redhat.com
Wed Jun 10 09:23:36 UTC 2020


On Wed, Jun 10, 2020 at 10:23:29AM +0200, Michal Privoznik wrote:
> QEMU has -fw_cfg which allows users to tweak how firmware
> configures itself and/or provide new configuration blobs.
> Introduce new <sysinfo/> type "fwcfg" that will hold these
> new blobs.
> 
> It's possible to either specify new value as a string or
> provide a filename which contents then serve as the value.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  docs/formatdomain.html.in                     |  32 +++
>  docs/schemas/domaincommon.rng                 | 145 +++++++------
>  src/conf/domain_conf.c                        | 193 ++++++++++++++----
>  src/conf/domain_conf.h                        |   4 +-
>  src/qemu/qemu_command.c                       |  10 +-
>  src/util/virsysinfo.c                         |  52 ++++-
>  src/util/virsysinfo.h                         |  16 +-
>  tests/qemuxml2argvdata/smbios-type-fwcfg.xml  |  63 ++++++
>  .../qemuxml2xmloutdata/smbios-type-fwcfg.xml  |   1 +
>  tests/qemuxml2xmltest.c                       |   1 +
>  10 files changed, 403 insertions(+), 114 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/smbios-type-fwcfg.xml
>  create mode 120000 tests/qemuxml2xmloutdata/smbios-type-fwcfg.xml

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