]> xenbits.xensource.com Git - libvirt.git/commit
conf: Add firmware blob configuration
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 4 Jun 2020 12:15:40 +0000 (14:15 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Jun 2020 12:00:38 +0000 (14:00 +0200)
commit3dda889a4426bb3555b1d8861d8314f82d8e1ef9
tree9d49184bbc0a08bac75b9a89ae141baefdb92470
parentb44898dd318958ca68acd889aa400e2975b43277
conf: Add firmware blob configuration

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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/util/virsysinfo.c
src/util/virsysinfo.h
tests/qemuxml2argvdata/smbios-type-fwcfg.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/smbios-type-fwcfg.xml [new symlink]
tests/qemuxml2xmltest.c