mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
snapshot: Documentation and comment improvements
Changes noticed while copying to similar aspects of checkpoints. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
e30833d584
commit
48c656ca55
@ -223,11 +223,9 @@
|
|||||||
guest.
|
guest.
|
||||||
</dd>
|
</dd>
|
||||||
<dt><code>parent</code></dt>
|
<dt><code>parent</code></dt>
|
||||||
<dd>An optional readonly representation of the parent of this
|
<dd>Readonly, present only if this snapshot has a parent. The
|
||||||
snapshot. If present, this element contains exactly one child
|
parent name is given by the sub-element <code>name</code>. The
|
||||||
element, <code>name</code>. This specifies the name of the
|
parent relationship allows tracking a tree of related snapshots.
|
||||||
parent snapshot of this snapshot, and is used to represent
|
|
||||||
trees of snapshots.
|
|
||||||
</dd>
|
</dd>
|
||||||
<dt><code>domain</code></dt>
|
<dt><code>domain</code></dt>
|
||||||
<dd>A readonly representation of the domain that this snapshot
|
<dd>A readonly representation of the domain that this snapshot
|
||||||
|
@ -85,7 +85,7 @@ $abs_top_builddir/tools/virsh --connect test:///default >out 2>err '
|
|||||||
# and snapshot-list produces timestamps
|
# and snapshot-list produces timestamps
|
||||||
sed 's/ *$//; s/[0-9-]\{10\} [0-9:.]* .[0-9]\{4\}/TIMESTAMP/;
|
sed 's/ *$//; s/[0-9-]\{10\} [0-9:.]* .[0-9]\{4\}/TIMESTAMP/;
|
||||||
/MarkerA/,/MarkerC/d' < out > out.cooked || fail=1
|
/MarkerA/,/MarkerC/d' < out > out.cooked || fail=1
|
||||||
# Second part holds domain XMLs
|
# Second part holds domain snapshot XMLs
|
||||||
sed -n '/MarkerA/,/MarkerB/p' < out > s3.xml || fail=1
|
sed -n '/MarkerA/,/MarkerB/p' < out > s3.xml || fail=1
|
||||||
sed -n '/MarkerB/,/MarkerC/p' < out > s2.xml || fail=1
|
sed -n '/MarkerB/,/MarkerC/p' < out > s2.xml || fail=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user