]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Clean up firmware list initialization
authorAndrea Bolognani <abologna@redhat.com>
Fri, 21 Jul 2017 10:09:58 +0000 (12:09 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 21 Jul 2017 12:02:17 +0000 (14:02 +0200)
commit6c2c04e7573d1b1fb8dd461e9550ff3b29a3a3fe
tree99457e315971ecd84c34dbed5d602e6c0679c81e
parentf4cb85c6aff7c1d909115614d7d29ce7676789e6
qemu: Clean up firmware list initialization

Instead of going through two completely different code paths,
one of which repeats the same hardcoded bit of information
three times in rapid succession, depending on whether or not
a firmware list has been provided at configure time, just
provide a reasonable default value and remove the extra code.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_conf.c