]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Always parse all firmware information
authorAndrea Bolognani <abologna@redhat.com>
Thu, 16 Jun 2022 09:26:37 +0000 (11:26 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Jul 2022 13:10:31 +0000 (15:10 +0200)
commit421d4f1fa84529f9c7c5d884e09ec42a71d737f0
treeb0aa42520ac287d585833a7b5725c3a901df5711
parent161b31f9584eeba17cf29d38289c3a8a03e9e858
conf: Always parse all firmware information

Currently we're simply ignoring some elements and attributes,
such as the loader path, when firmware autoselection is enabled
because we know we're not going to use them.

This makes sense, but has the unfortunate consequence of
confusing users who experience part of their configuration
simply going away for no apparent reason.

A more user-friendly approach is to produce meaningful error
messages in those scenarios. As a first step towards that goal,
stop conditionally parsing information.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c