1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-13 00:01:55 +00:00

tests: Fix firmware-auto-efi-loader-path-nonstandard

This test is intended to simulate the use of an OVMF firmware
image installed under a non-standard path. In order to make
such a configuration work, the user would have to provide
additional information.

Right now it doesn't matter, because the configuration is
rejected anyway, but the behavior is going to change slightly
in the future. Prepare by making the configuration more
complete and realistic.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-03-16 18:59:52 +01:00
parent bfb507853a
commit d8d06f0a4a
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
loader attribute 'type' cannot be specified when firmware autoselection is enabled
loader attribute 'readonly' cannot be specified when firmware autoselection is enabled

@ -5,7 +5,7 @@
<vcpu placement='static'>1</vcpu>
<os firmware='efi'>
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
<loader>/path/to/OVMF_CODE.fd</loader>
<loader readonly='yes' type='pflash'>/path/to/OVMF_CODE.fd</loader>
</os>
<features>
<acpi/>