]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_firmware: Try to autofill for old style UEFI specification
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 16:45:50 +0000 (17:45 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Jan 2020 15:26:47 +0000 (16:26 +0100)
commit8e1804f9f66f13ca1412d22bf1a957b6d55a2365
tree3a1b7c5a1bd5d146b61b8a5355dded38a9cfe904
parent7c5264d2bee6c0bce152f5159f70e525ef0d0ebc
qemu_firmware: Try to autofill for old style UEFI specification

While we discourage people to use the old style of specifying
UEFI for their domains (the old style is putting path to the FW
image under /domain/os/loader/ whilst the new one is using
/domain/os/@firmware), some applications might have not adapted
yet. They still rely on libvirt autofilling NVRAM path and
figuring out NVRAM template when using the old way (notably
virt-install does this). We must preserve backcompat for this
previously supported config approach. However, since we really
want distro maintainers to leave --with-loader-nvram configure
option and rely on JSON descriptors, we need to implement
autofilling of NVRAM template for the old way too.

Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1782778
RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1776949

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_firmware.c