render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
d759b5
From 3fbdec4eee43aec8501e0e2cb93133b477d4b354 Mon Sep 17 00:00:00 2001
d759b5
Message-Id: <3fbdec4eee43aec8501e0e2cb93133b477d4b354@dist-git>
d759b5
From: Peter Krempa <pkrempa@redhat.com>
d759b5
Date: Thu, 20 Jun 2019 17:45:01 +0200
d759b5
Subject: [PATCH] docs: snapshot: Encourage people ot use disk 'target' to
d759b5
 refer to disks
d759b5
d759b5
Change the example and add a recommendation to use disk target rather
d759b5
than path.
d759b5
d759b5
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
d759b5
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
d759b5
(cherry picked from commit c79ef73c37b1f91d38745cb1197026e702ce42fe)
d759b5
https: //bugzilla.redhat.com/show_bug.cgi?id=1584682
d759b5
Message-Id: <bdb8fa41c605bdda49eaf0436f8dc74992c54bd1.1561045343.git.pkrempa@redhat.com>
d759b5
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
d759b5
---
d759b5
 docs/formatsnapshot.html.in | 6 +++---
d759b5
 1 file changed, 3 insertions(+), 3 deletions(-)
d759b5
d759b5
diff --git a/docs/formatsnapshot.html.in b/docs/formatsnapshot.html.in
d759b5
index fbbecfd242..23f20d7c33 100644
d759b5
--- a/docs/formatsnapshot.html.in
d759b5
+++ b/docs/formatsnapshot.html.in
d759b5
@@ -143,8 +143,8 @@
d759b5
           
This sub-element describes the snapshot properties of a
d759b5
             specific disk.  The attribute name is
d759b5
             mandatory, and must match either the <target
d759b5
-            dev='name'/> or an unambiguous <source
d759b5
-            file='name'/> of one of
d759b5
+            dev='name'/> (recommended) or an unambiguous
d759b5
+            <source file='name'/> of one of
d759b5
             the disk
d759b5
             devices specified for the domain at the time of the
d759b5
             snapshot.  The attribute snapshot is
d759b5
@@ -251,7 +251,7 @@
d759b5
 <domainsnapshot>
d759b5
   <description>Snapshot of OS install and updates</description>
d759b5
   <disks>
d759b5
-    <disk name='/path/to/old'>
d759b5
+    <disk name='vda'>
d759b5
       <source file='/path/to/new'/>
d759b5
     </disk>
d759b5
     <disk name='vdb' snapshot='no'/>
d759b5
-- 
d759b5
2.22.1
d759b5