]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuFirmwareMatchDomain: Don't base firmware selection on nvram image format
authorPeter Krempa <pkrempa@redhat.com>
Tue, 20 Aug 2024 14:15:05 +0000 (16:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 15 Nov 2024 08:42:04 +0000 (09:42 +0100)
commitd3016e47be5f813b85c7bc3f9bbe9a148d589fa9
tree5c7b61483a95942210c655470e75ecfeafd6e709
parent2aa644a2fc8f1e9cd68bd4920bf3501f1a9cc506
qemuFirmwareMatchDomain: Don't base firmware selection on nvram image format

Basing the selection on the format of the actual NVRAM image makes no
sense as user may format the image themselves.

Additionally it doesn't make much sense to even limit the firmware
selection based on the nvram template itself. As format of the template
is given and firmware images don't really provide any choice.

Remove the limitation so that autoselection can pick a template
regardless of the selected format or template format.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_firmware.c