From 3458c3ff8c2c5fa071243b85aa5f3d48b31b1b28 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 5 Dec 2022 13:08:25 +0100 Subject: [PATCH] qemu_extdevice: Expose qemuExtDevicesInitPaths() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function is going to be called outside of qemu_extdevice.c. Expose it to the rest of the driver. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko --- src/qemu/qemu_extdevice.c | 2 +- src/qemu/qemu_extdevice.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_extdevice.c b/src/qemu/qemu_extdevice.c index 34454891f6..d5c3e8ed71 100644 --- a/src/qemu/qemu_extdevice.c +++ b/src/qemu/qemu_extdevice.c @@ -64,7 +64,7 @@ qemuExtDeviceLogCommand(virQEMUDriver *driver, * stored and we can remove directories and files in case of domain XML * changes. */ -static int +int qemuExtDevicesInitPaths(virQEMUDriver *driver, virDomainDef *def) { diff --git a/src/qemu/qemu_extdevice.h b/src/qemu/qemu_extdevice.h index 86e7133a2a..d4ac9f395c 100644 --- a/src/qemu/qemu_extdevice.h +++ b/src/qemu/qemu_extdevice.h @@ -30,6 +30,11 @@ int qemuExtDeviceLogCommand(virQEMUDriver *driver, ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3) ATTRIBUTE_NONNULL(4) G_GNUC_WARN_UNUSED_RESULT; +int +qemuExtDevicesInitPaths(virQEMUDriver *driver, + virDomainDef *def) + ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) G_GNUC_WARN_UNUSED_RESULT; + int qemuExtDevicesPrepareDomain(virQEMUDriver *driver, virDomainObj *vm) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)