[libvirt] [PATCH] man: virsh: Mention how to disable snapshot of disk in snapshot-create-as

Peter Krempa posted 1 patch 4 years, 3 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/d7b8a2a470b004546095af82b63e167a24d501e9.1578385565.git.pkrempa@redhat.com
docs/manpages/virsh.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[libvirt] [PATCH] man: virsh: Mention how to disable snapshot of disk in snapshot-create-as
Posted by Peter Krempa 4 years, 3 months ago
Document that --diskspec DISK,snapshot=no disables snapshot for the
given disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 docs/manpages/virsh.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst
index d0f9e15c38..4522259657 100644
--- a/docs/manpages/virsh.rst
+++ b/docs/manpages/virsh.rst
@@ -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
-- 
2.24.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] man: virsh: Mention how to disable snapshot of disk in snapshot-create-as
Posted by Pavel Hrdina 4 years, 3 months ago
On Tue, Jan 07, 2020 at 09:26:16AM +0100, Peter Krempa wrote:
> Document that --diskspec DISK,snapshot=no disables snapshot for the
> given disk.
> 
> Signed-off-by: Peter Krempa <pkrempa@redhat.com>
> ---
>  docs/manpages/virsh.rst | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list