]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Always parse NVRAM path if present
authorAndrea Bolognani <abologna@redhat.com>
Fri, 17 Jun 2022 09:40:14 +0000 (11:40 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Jul 2022 13:10:26 +0000 (15:10 +0200)
commit9c7499ce542e296ebbcb28db7da6582c85cba176
tree7f486398fec88179560b146ca9f0234d15e8abc2
parentbdd9ce0fda75d9c79c153912fc964c8f1aed1aae
conf: Always parse NVRAM path if present

Currently, the lack of a <loader> element results in the <nvram>
element being completely ignored, but this is unnecessarily
limiting: even when firmware autoselection is in use, it should
be possible for the user to specify a custom path for the NVRAM
file.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
tests/qemuxml2argvdata/firmware-auto-efi-nvram.x86_64-latest.args
tests/qemuxml2xmloutdata/firmware-auto-efi-nvram.x86_64-latest.xml