mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
snapshot_conf: export virDomainSnapshotDiskDefClear
We will need to call this function from qemu_snapshot when introducing external snapshot revert support. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
aba6f2a941
commit
824e2a4a98
@ -74,7 +74,7 @@ VIR_ENUM_IMPL(virDomainSnapshotState,
|
|||||||
);
|
);
|
||||||
|
|
||||||
/* Snapshot Def functions */
|
/* Snapshot Def functions */
|
||||||
static void
|
void
|
||||||
virDomainSnapshotDiskDefClear(virDomainSnapshotDiskDef *disk)
|
virDomainSnapshotDiskDefClear(virDomainSnapshotDiskDef *disk)
|
||||||
{
|
{
|
||||||
VIR_FREE(disk->name);
|
VIR_FREE(disk->name);
|
||||||
|
@ -59,6 +59,9 @@ struct _virDomainSnapshotDiskDef {
|
|||||||
virStorageSource *src;
|
virStorageSource *src;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void
|
||||||
|
virDomainSnapshotDiskDefClear(virDomainSnapshotDiskDef *disk);
|
||||||
|
|
||||||
void
|
void
|
||||||
virDomainSnapshotDiskDefFree(virDomainSnapshotDiskDef *disk);
|
virDomainSnapshotDiskDefFree(virDomainSnapshotDiskDef *disk);
|
||||||
|
|
||||||
|
@ -1037,6 +1037,7 @@ virDomainSnapshotDefFormat;
|
|||||||
virDomainSnapshotDefIsExternal;
|
virDomainSnapshotDefIsExternal;
|
||||||
virDomainSnapshotDefNew;
|
virDomainSnapshotDefNew;
|
||||||
virDomainSnapshotDefParseString;
|
virDomainSnapshotDefParseString;
|
||||||
|
virDomainSnapshotDiskDefClear;
|
||||||
virDomainSnapshotDiskDefFree;
|
virDomainSnapshotDiskDefFree;
|
||||||
virDomainSnapshotDiskDefParseXML;
|
virDomainSnapshotDiskDefParseXML;
|
||||||
virDomainSnapshotFormatConvertXMLFlags;
|
virDomainSnapshotFormatConvertXMLFlags;
|
||||||
|
Loading…
Reference in New Issue
Block a user