mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 22:15:20 +00:00
qemuMigrationCookieNew: Export
Allow direct use rather than going through qemuMigrationEatCookie with NULL/0 arguments. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4aef0fe324
commit
775296cbd6
@ -275,7 +275,7 @@ qemuMigrationCookieNetworkAlloc(virQEMUDriverPtr driver G_GNUC_UNUSED,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static qemuMigrationCookiePtr
|
qemuMigrationCookiePtr
|
||||||
qemuMigrationCookieNew(const virDomainDef *def,
|
qemuMigrationCookieNew(const virDomainDef *def,
|
||||||
const char *origname)
|
const char *origname)
|
||||||
{
|
{
|
||||||
|
@ -151,6 +151,10 @@ struct _qemuMigrationCookie {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
qemuMigrationCookiePtr
|
||||||
|
qemuMigrationCookieNew(const virDomainDef *def,
|
||||||
|
const char *origname);
|
||||||
|
|
||||||
int
|
int
|
||||||
qemuMigrationCookieFormat(qemuMigrationCookiePtr mig,
|
qemuMigrationCookieFormat(qemuMigrationCookiePtr mig,
|
||||||
virQEMUDriverPtr driver,
|
virQEMUDriverPtr driver,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user