mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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>
This commit is contained in:
parent
85931fce74
commit
8702898569
@ -1075,6 +1075,13 @@ virDomainRevertToSnapshot(virDomainSnapshotPtr snapshot,
|
|||||||
* libvirt metadata to track snapshots, then this flag is silently
|
* libvirt metadata to track snapshots, then this flag is silently
|
||||||
* ignored.
|
* 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,
|
* Returns 0 if the selected snapshot(s) were successfully deleted,
|
||||||
* -1 on error.
|
* -1 on error.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user