]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Clear os.firmwareFeatures after autoselection
authorAndrea Bolognani <abologna@redhat.com>
Tue, 24 Jan 2023 18:38:37 +0000 (19:38 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 3 Mar 2023 12:49:56 +0000 (13:49 +0100)
commitb4c3e4f39f8f42cd3cb0ce01cc7859ebf91c78e2
tree0fd1d8726adae97dd874589f79754e3b6fb7d93d
parent6981019ed15dc20aa84a5d5b85800276a6cef5da
qemu: Clear os.firmwareFeatures after autoselection

We already clear os.firmware, so it doesn't make sense to keep
the list of features around.

Moreover, our validation routines will reject an XML that
contains a list of firmware features but disables firmware
autoselection, so not clearing these means that the live XML
for a domain that uses feature-based autoselection can't be
fed back into libvirt.

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