]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuPrepareNVRAM: Refuse conversion of NVRAM backing file format
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Nov 2024 17:04:29 +0000 (18:04 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 15 Nov 2024 08:42:04 +0000 (09:42 +0100)
commit2aa644a2fc8f1e9cd68bd4920bf3501f1a9cc506
treef40ae5982146175aedceb08b3c1cc26fcf4f9651
parent6540cc08b1425882ad9e2bc9d3fdb1ce963677b9
qemuPrepareNVRAM: Refuse conversion of NVRAM backing file format

Refuse situations where the user configures a different format for a
file-backed nvram than the template file has.

At this point it's still required that the NVRAM and firmware share
format, but that is going to be relaxed, thus we need to refuse
configurations that the code can't handle.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c