libvirt: Skip unsupported firmware types

Ignore (1) stateless mode firmware and (2) memory device firmware which
do not include a few core keys such as nvram-template. This is
a temporal (and backportable) workaround until firmware detection using
libvirt's internal feature is implemented by [1]

[1] https://blueprints.launchpad.net/nova/+spec/libvirt-firmware-auto-selection

Closes-Bug: #2122288
Change-Id: I99bc36fdd5df816c9ae374db71e4734fb7fc467b
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-11-29 23:31:59 +09:00
parent 61242f75da
commit d2188b9e6b
3 changed files with 75 additions and 20 deletions
@@ -0,0 +1,10 @@
---
fixes:
- |
[`bug 2133416 <https://bugs.launchpad.net/nova/+bug/2133416>`_] Libvirt
virt driver now ignores the OVMF firmware files of the following types.
Previously nova failed to start instances with UEFI boot when it attempts
to check such firmware files.
- stateless mode
- memory device