]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_firmware: Introduce @want variable to qemuFirmwareMatchDomain()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Jan 2020 09:10:02 +0000 (10:10 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Jan 2020 15:26:47 +0000 (16:26 +0100)
commit57f9067ca3efffcfbbc7cd3f435482b63f875b72
tree47a798d4e301375e6d43b3ea1ada188d26c54676
parent50d7465f3d5e7ee23af91059784bc51f4c316481
qemu_firmware: Introduce @want variable to qemuFirmwareMatchDomain()

This simplifies condition when matching FW interface by having a
single line condition instead of multiline one. Also, it prepares
the code for future expansion.

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