]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu_extdevice: Expose qemuExtDevicesInitPaths()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 5 Dec 2022 12:08:25 +0000 (13:08 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 5 Dec 2022 13:25:15 +0000 (14:25 +0100)
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 <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_extdevice.c
src/qemu/qemu_extdevice.h

index 34454891f617ef58daed43c126948065a7093986..d5c3e8ed71f17a00a84f55828b47c905ffabae4e 100644 (file)
@@ -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)
 {
index 86e7133a2abf70a8133bc99e907d4b3e8fe64806..d4ac9f395c8d5d59ca775220177fcca829350a79 100644 (file)
@@ -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)