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