]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Validate firmware blob configuration
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 2 Jun 2020 14:38:05 +0000 (16:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Jun 2020 12:00:38 +0000 (14:00 +0200)
commitb5f8f049892ff4cbf388fab18a85fd40d6e62c1f
tree0793f86a2671dfd6d9e59a28155f7dd0dda5eb0d
parent3dda889a4426bb3555b1d8861d8314f82d8e1ef9
qemu: Validate firmware blob configuration

There are recommendations and limitations to the name of the
config blobs we need to follow [1].

We don't want users to change any value only add new blobs. This
means, that the name must have "opt/" prefix and at the same time
must not begin with "opt/ovmf" nor "opt/org.qemu" as these are
reserved for OVMF or QEMU respectively.

1: docs/specs/fw_cfg.txt from qemu.git

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