On Fri, Sep 13, 2019 at 04:50:38PM +0400, marcandre.lureau(a)redhat.com wrote:
From: Marc-André Lureau <marcandre.lureau(a)redhat.com>
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(a)redhat.com>
---
src/qemu/Makefile.inc.am | 2 +
src/qemu/qemu_firmware.c | 144 +-------------------------
src/qemu/qemu_interop_config.c | 183 +++++++++++++++++++++++++++++++++
src/qemu/qemu_interop_config.h | 25 +++++
4 files changed, 212 insertions(+), 142 deletions(-)
create mode 100644 src/qemu/qemu_interop_config.c
create mode 100644 src/qemu/qemu_interop_config.h
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano