From nobody Wed May 1 22:16:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578385591; cv=none; d=zohomail.com; s=zohoarc; b=K4tmMHCYLDBwPaT1bWbPab9k+oPE8L2YvAmKwhDH2I3/D8VqnHvCGS01fGJMMAncORwFRMiH1HoXKvmlLI6u8nXPm8gGg39bx3FxXdYccR9SsuZQ3E4miN3AveJtdjBrRggJTQkzFhsAPsKkMdy0fmedFr9ofcAgYcx8ZIvfJew= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578385591; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=H3Sp0XDK6iF8UDlGusWZoVu3usit0+pwO4iQely5oZo=; b=KMXDWkFf5OV2z1HjDqHozHRRKfPzC4K5ikI+4MPSiBHaO26CoCNUTwaeupYzPK50YoaV1gcT+UJS5TqMg/oVkhUUNAVesi4WdlFc5sNOcLYd1O0ACU1qQam8/XHY6A6OpOxa9mepH6Lrjao3M7o9H7qA7rUY9sm0mgjmvhAWVjk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1578385591917242.64646982268482; Tue, 7 Jan 2020 00:26:31 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-407-MXRa_giwOUmZvSr6HZMKIw-1; Tue, 07 Jan 2020 03:26:29 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 42D33477; Tue, 7 Jan 2020 08:26:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B744F272A7; Tue, 7 Jan 2020 08:26:23 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id DBFAA1804744; Tue, 7 Jan 2020 08:26:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0078QKpL008452 for ; Tue, 7 Jan 2020 03:26:20 -0500 Received: by smtp.corp.redhat.com (Postfix) id 2BC355D9CA; Tue, 7 Jan 2020 08:26:20 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id A7A965D9E1 for ; Tue, 7 Jan 2020 08:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578385590; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=H3Sp0XDK6iF8UDlGusWZoVu3usit0+pwO4iQely5oZo=; b=i9jmdRl+6JipjI0fvFAj/HnRmJ43rflEY6xKgEkxNRwSkHGKxduHZPBcDf8m70WoP808Qz J1UIBI6IoLwtK8mzNlesdvxQD/rAcpQ3V7bNAiH1DMUpS61ggy7OWTloivRtES/VeBEb88 2NuQada8l3ShElhLUQwIAqY9UdVIxDE= From: Peter Krempa To: libvir-list@redhat.com Date: Tue, 7 Jan 2020 09:26:16 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] man: virsh: Mention how to disable snapshot of disk in snapshot-create-as X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: MXRa_giwOUmZvSr6HZMKIw-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Document that --diskspec DISK,snapshot=3Dno disables snapshot for the given disk. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- 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=3Dtype][,driver=3Dtype][,stype= =3Dtype][,file=3Dname]``. A *diskspec* must be provided for disks backed by block devices as libvirt doesn't auto-generate file names for those. The optional ``stype`` parame= ter 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=3Dno``. To include a literal comma in ``disk`` or in ``file=3Dname``, escape it wi= th a second comma. A literal *--diskspec* must precede each ``diskspec`` unless --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list