]> xenbits.xensource.com Git - libvirt.git/commitdiff
man: virsh: Mention how to disable snapshot of disk in snapshot-create-as
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Jan 2020 08:24:59 +0000 (09:24 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 7 Jan 2020 14:17:58 +0000 (15:17 +0100)
Document that --diskspec DISK,snapshot=no disables snapshot for the
given disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
docs/manpages/virsh.rst

index d0f9e15c380907f9553f50aa71fcc5b412b8f5e3..4522259657cf55e26b2a6a323707b1d08f4e406e 100644 (file)
@@ -6734,7 +6734,8 @@ form ``disk[,snapshot=type][,driver=type][,stype=type][,file=name]``.
 A *diskspec* must be provided for disks backed by block devices as libvirt
 doesn't auto-generate file names for those.  The optional ``stype`` parameter
 allows to control the type of the source file. Supported values are 'file'
-(default) and 'block'.
+(default) and 'block'. To exclude a disk from an external snapshot use
+``--diskspec disk,snapshot=no``.
 
 To include a literal comma in ``disk`` or in ``file=name``, escape it with a
 second comma.  A literal *--diskspec* must precede each ``diskspec`` unless