mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +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,
|
||||
const char *origname)
|
||||
{
|
||||
|
@ -151,6 +151,10 @@ struct _qemuMigrationCookie {
|
||||
};
|
||||
|
||||
|
||||
qemuMigrationCookiePtr
|
||||
qemuMigrationCookieNew(const virDomainDef *def,
|
||||
const char *origname);
|
||||
|
||||
int
|
||||
qemuMigrationCookieFormat(qemuMigrationCookiePtr mig,
|
||||
virQEMUDriverPtr driver,
|
||||
|
Loading…
Reference in New Issue
Block a user