[PATCH 3/6] qemuMigrationCookieNew: Export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allow direct use rather than going through qemuMigrationEatCookie with
NULL/0 arguments.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_migration_cookie.c | 2 +-
 src/qemu/qemu_migration_cookie.h | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/qemu/qemu_migration_cookie.c b/src/qemu/qemu_migration_cookie.c
index a04b74f092..f5c16a8d16 100644
--- a/src/qemu/qemu_migration_cookie.c
+++ b/src/qemu/qemu_migration_cookie.c
@@ -275,7 +275,7 @@ qemuMigrationCookieNetworkAlloc(virQEMUDriverPtr driver G_GNUC_UNUSED,
 }


-static qemuMigrationCookiePtr
+qemuMigrationCookiePtr
 qemuMigrationCookieNew(const virDomainDef *def,
                        const char *origname)
 {
diff --git a/src/qemu/qemu_migration_cookie.h b/src/qemu/qemu_migration_cookie.h
index 587f4206b7..dee1e9c8b9 100644
--- a/src/qemu/qemu_migration_cookie.h
+++ b/src/qemu/qemu_migration_cookie.h
@@ -151,6 +151,10 @@ struct _qemuMigrationCookie {
 };


+qemuMigrationCookiePtr
+qemuMigrationCookieNew(const virDomainDef *def,
+                       const char *origname);
+
 int
 qemuMigrationCookieFormat(qemuMigrationCookiePtr mig,
                           virQEMUDriverPtr driver,
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux