From c79ef73c37b1f91d38745cb1197026e702ce42fe Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 20 Jun 2019 09:57:54 +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 --- 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 1bbbf06205..a19e91b4d5 100644 --- a/docs/formatsnapshot.html.in +++ b/docs/formatsnapshot.html.in @@ -140,8 +140,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 @@ -255,7 +255,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'/> -- GitLab