]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: introduce support for firmware auto-selection feature filtering
authorPavel Hrdina <phrdina@redhat.com>
Tue, 16 Mar 2021 12:07:26 +0000 (13:07 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Thu, 18 Mar 2021 17:42:26 +0000 (18:42 +0100)
commitcff524af6c5e1ddc11149394ed7f985242ebea0f
tree25c43699c832b3216ad87106ae90f0070331ff13
parent6330be1ba3af5c4d2150fe2b831f7bc5d87c6d2a
conf: introduce support for firmware auto-selection feature filtering

When the firmware auto-selection was introduced it always picked first
usable firmware based on the JSON descriptions on the host. It is
possible to add/remove/change the JSON files but it will always be for
the whole host.

This patch introduces support for configuring the auto-selection per VM
by adding users an option to limit what features they would like to have
available in the firmware.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
12 files changed:
docs/formatdomain.rst
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
tests/qemuxml2argvdata/os-firmware-invalid-type.x86_64-latest.err [new file with mode: 0644]
tests/qemuxml2argvdata/os-firmware-invalid-type.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/aarch64-os-firmware-efi.aarch64-latest.xml
tests/qemuxml2xmloutdata/os-firmware-bios.x86_64-latest.xml
tests/qemuxml2xmloutdata/os-firmware-efi-secboot.x86_64-latest.xml
tests/qemuxml2xmloutdata/os-firmware-efi.x86_64-latest.xml
tests/vmx2xmldata/vmx2xml-firmware-efi.xml