提交 0ec6343a 编写于 作者: E Eric Blake

snapshots: Clarify comments on snapshot role

Give some more details on what a snapshot is good for, to make
it easier to distinguish from the role of upcoming additions for
incremental backups.
Signed-off-by: NEric Blake <eblake@redhat.com>
Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
上级 f78b73e6
...@@ -31,15 +31,17 @@ ...@@ -31,15 +31,17 @@
/** /**
* virDomainSnapshot: * virDomainSnapshot:
* *
* a virDomainSnapshot is a private structure representing a snapshot of * A virDomainSnapshot is a private structure representing a snapshot of
* a domain. * a domain. A snapshot captures the state of the domain at a point in
* time, with the intent that the guest can be reverted back to that
* state at a later time.
*/ */
typedef struct _virDomainSnapshot virDomainSnapshot; typedef struct _virDomainSnapshot virDomainSnapshot;
/** /**
* virDomainSnapshotPtr: * virDomainSnapshotPtr:
* *
* a virDomainSnapshotPtr is pointer to a virDomainSnapshot private structure, * A virDomainSnapshotPtr is pointer to a virDomainSnapshot private structure,
* and is the type used to reference a domain snapshot in the API. * and is the type used to reference a domain snapshot in the API.
*/ */
typedef virDomainSnapshot *virDomainSnapshotPtr; typedef virDomainSnapshot *virDomainSnapshotPtr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册