mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
docs: snapshot: Encourage people ot use disk 'target' to refer to disks
Change the example and add a recommendation to use disk target rather than path. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
05ac854cc8
commit
c79ef73c37
@ -140,8 +140,8 @@
|
|||||||
<dd>This sub-element describes the snapshot properties of a
|
<dd>This sub-element describes the snapshot properties of a
|
||||||
specific disk. The attribute <code>name</code> is
|
specific disk. The attribute <code>name</code> is
|
||||||
mandatory, and must match either the <code><target
|
mandatory, and must match either the <code><target
|
||||||
dev='name'/></code> or an unambiguous <code><source
|
dev='name'/></code> (recommended) or an unambiguous
|
||||||
file='name'/></code> of one of
|
<code><source file='name'/></code> of one of
|
||||||
the <a href="formatdomain.html#elementsDisks">disk
|
the <a href="formatdomain.html#elementsDisks">disk
|
||||||
devices</a> specified for the domain at the time of the
|
devices</a> specified for the domain at the time of the
|
||||||
snapshot. The attribute <code>snapshot</code> is
|
snapshot. The attribute <code>snapshot</code> is
|
||||||
@ -255,7 +255,7 @@
|
|||||||
<domainsnapshot>
|
<domainsnapshot>
|
||||||
<description>Snapshot of OS install and updates</description>
|
<description>Snapshot of OS install and updates</description>
|
||||||
<disks>
|
<disks>
|
||||||
<disk name='/path/to/old'>
|
<disk name='vda'>
|
||||||
<source file='/path/to/new'/>
|
<source file='/path/to/new'/>
|
||||||
</disk>
|
</disk>
|
||||||
<disk name='vdb' snapshot='no'/>
|
<disk name='vdb' snapshot='no'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user