Files
libvirt/tests
Andrea Bolognani 1c2dbdf3ac conf: Update validation to consider varstore element
The code is reworked quite significantly, but most of the
existing checks are preserved. Those that aren't, notably the
one that allowed pflash as the only acceptable non-stateless
firmware type, are intentionally removed because they will no
longer reflect reality once support for the uefi-vars QEMU
device is introduced.

As a side effect, reworking the function in this fashion
resolves a subtle bug: due to the early exits that were being
performed when the loader element was missing, the checks at
the bottom of the function (related to the shim and kernel
elements) were effectively never performed. This is no longer
the case.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2026-02-24 11:29:06 +01:00
..
2023-12-14 17:10:22 +01:00
2024-03-12 17:37:51 +01:00
2024-03-12 17:37:51 +01:00
2026-02-17 13:14:58 +01:00
2025-07-02 13:54:04 +02:00
…
2026-02-17 13:14:58 +01:00
…
2025-07-02 13:54:04 +02:00
2025-07-02 13:54:04 +02:00
2024-03-14 15:17:48 +01:00
2024-09-24 08:24:00 +02:00
2025-07-02 13:54:04 +02:00
2025-07-02 13:54:04 +02:00
2025-07-02 13:54:04 +02:00
2025-11-20 15:09:10 +01:00