]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: generalize qemuFetchConfigs
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 23 Sep 2019 10:44:24 +0000 (14:44 +0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 24 Sep 2019 16:17:10 +0000 (12:17 -0400)
commit58a76d45caffd4e65845f181d21f9e1c666cd07f
tree6484db63f8ea66034291b2a38d6ded219c59fb0e
parentada268012a03b9be83756aba2c0e14d206f5e70f
qemu: generalize qemuFetchConfigs

The same config files disovery & priority rules are used for
vhost-user backends.

No functional change, the only difference is that
qemuInteropFetchConfigs() takes a "name" argument and construct paths
with it (ex: "firmware").

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/Makefile.inc.am
src/qemu/qemu_firmware.c
src/qemu/qemu_interop_config.c [new file with mode: 0644]
src/qemu/qemu_interop_config.h [new file with mode: 0644]