summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Hrdina <phrdina@redhat.com>2022-12-07 17:11:19 +0100
committerPavel Hrdina <phrdina@redhat.com>2023-01-09 13:33:19 +0100
commit870289856925419e989df00f60b8a9b8eea716c0 (patch)
treed3dc8659980b7a23ad369713b47c22987d810cd8 /src
parent85931fce740b3c30e86dde1a43ebe01bc9abe1ed (diff)
downloadlibvirt-870289856925419e989df00f60b8a9b8eea716c0.tar.gz
api: document support for external snapshot deletion
Now that deletion of external snapshot is implemented document the current virDomainSnapshotDelete supported state. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/libvirt-domain-snapshot.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libvirt-domain-snapshot.c b/src/libvirt-domain-snapshot.c
index 2917b8bd90..ab6a029915 100644
--- a/src/libvirt-domain-snapshot.c
+++ b/src/libvirt-domain-snapshot.c
@@ -1075,6 +1075,13 @@ virDomainRevertToSnapshot(virDomainSnapshotPtr snapshot,
* libvirt metadata to track snapshots, then this flag is silently
* ignored.
*
+ * Since libvirt 9.0.0 deletion of external snapshots is supported
+ * for QEMU driver. Using @flags VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN
+ * and VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN_ONLY is not supported with
+ * external snapshots. In case that daemon process is terminated
+ * while the snapshot delete is in process the operation will be
+ * aborted when the daemon starts again.
+ *
* Returns 0 if the selected snapshot(s) were successfully deleted,
* -1 on error.
*