]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: snapshot: Encourage people ot use disk 'target' to refer to disks
authorPeter Krempa <pkrempa@redhat.com>
Thu, 20 Jun 2019 07:57:54 +0000 (09:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 20 Jun 2019 15:08:53 +0000 (17:08 +0200)
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>
docs/formatsnapshot.html.in

index 1bbbf062058c557ed9912ec26bf50adae4c07ef1..a19e91b4d5644a60380697b0a2a524ccdd01885b 100644 (file)
           <dd>This sub-element describes the snapshot properties of a
             specific disk.  The attribute <code>name</code> is
             mandatory, and must match either the <code>&lt;target
-            dev='name'/&gt;</code> or an unambiguous <code>&lt;source
-            file='name'/&gt;</code> of one of
+            dev='name'/&gt;</code> (recommended) or an unambiguous
+            <code>&lt;source file='name'/&gt;</code> of one of
             the <a href="formatdomain.html#elementsDisks">disk
             devices</a> specified for the domain at the time of the
             snapshot.  The attribute <code>snapshot</code> is
 &lt;domainsnapshot&gt;
   &lt;description&gt;Snapshot of OS install and updates&lt;/description&gt;
   &lt;disks&gt;
-    &lt;disk name='/path/to/old'&gt;
+    &lt;disk name='vda'&gt;
       &lt;source file='/path/to/new'/&gt;
     &lt;/disk&gt;
     &lt;disk name='vdb' snapshot='no'/&gt;