From nobody Mon Feb 9 02:12:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578077038; cv=none; d=zohomail.com; s=zohoarc; b=mh39qKN5ekWPoja6hkHlU5S/1xL7XnNQa4YUtiEiBNvDKAld5+Q8Yy3DmJF1OORN1g4KP8BgzoHp7Qlh2lXn6nsWqNZy3lsj7XioJEC4zg9qF4sjmBcwdSsIktgsJxKgWspgeoJx3fRvqeTd6KzCGSulZ5jhkKd9tOgFc6SUq50= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578077038; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pG3NhVJGe1h163gskCdns2bxWcsuj2BIcLKdIieB+JQ=; b=YwSHR7cmoTPErLAWqIZyp/BtJoYSTEppIVb1uApz0qXZT+AHK6Fjxzu3QbvnZJzQI4bMGblEu6rEWA2ClO9/SSW8kowJju9075XV4g9v8kXl0TGgfER66cCx0HSPKu4yP6z/7Z8RwsnV55avidcaf2yxDNr8RNnCPqQOCIisXC4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1578077038092543.601461762901; Fri, 3 Jan 2020 10:43:58 -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-320-dNwetxfoP5-gzqcHTthV7A-1; Fri, 03 Jan 2020 13:43:55 -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 90F29107ACE5; Fri, 3 Jan 2020 18:43:49 +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 68B59387; Fri, 3 Jan 2020 18:43:49 +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 2C46918089C8; Fri, 3 Jan 2020 18:43:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 003IhmsB021073 for ; Fri, 3 Jan 2020 13:43:48 -0500 Received: by smtp.corp.redhat.com (Postfix) id 0D71A2026D69; Fri, 3 Jan 2020 18:43:48 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 08DC42026D68 for ; Fri, 3 Jan 2020 18:43:48 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DD80380288C for ; Fri, 3 Jan 2020 18:43:47 +0000 (UTC) Received: from heinz.dinsnail.net (heinz.dinsnail.net [81.169.187.250]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-248-VUDpll4FO02OfSjka7lK-g-1; Fri, 03 Jan 2020 13:43:45 -0500 Received: from heinz.dinsnail.net ([IPv6:0:0:0:0:0:0:0:1]) by heinz.dinsnail.net (8.15.2/8.15.2) with ESMTP id 003IhSaP015809; Fri, 3 Jan 2020 19:43:28 +0100 Received: (from michael@localhost) by heinz.dinsnail.net (8.15.2/8.15.2/Submit) id 003IhSkL015808; Fri, 3 Jan 2020 19:43:28 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578077036; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pG3NhVJGe1h163gskCdns2bxWcsuj2BIcLKdIieB+JQ=; b=RsBg+8u5CnlbsprjFuHKYsdw6DyW4YoE34yR9LKMeLFHoqZ8iOFQAt0x19kNXU7Eb34XXX u/PEy5DoPWjSAQ95Lg80X1VUzZCBlmVpJKh4zObGAGEnSFoA25kPiWc08duhAnHKj6tDvz rkoT7LA7XsWyAmF+4TGH0J0QemKpllE= From: Michael Weiser To: libvir-list@redhat.com Date: Fri, 3 Jan 2020 19:43:24 +0100 Message-Id: <20200103184325.5593-3-michael.weiser@gmx.de> In-Reply-To: <20200103184325.5593-1-michael.weiser@gmx.de> References: <20200103184325.5593-1-michael.weiser@gmx.de> MIME-Version: 1.0 X-dinsnail-net-MailScanner-Information: Please contact the ISP for more information X-dinsnail-net-MailScanner-ID: 003IhSaP015809 X-dinsnail-net-MailScanner: Found to be clean X-dinsnail-net-MailScanner-From: michael@heinz.dinsnail.net X-Spam-Status: No X-MC-Unique: VUDpll4FO02OfSjka7lK-g-1 X-MC-Unique: dNwetxfoP5-gzqcHTthV7A-1 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 003IhmsB021073 X-loop: libvir-list@redhat.com Cc: Daniel Henrique Barboza , Michael Weiser , Cole Robinson Subject: [libvirt] [PATCH v3 2/3] docs: Reformat snapshot-revert force reasons 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-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Reformat explanations of the snapshot-revert force reasons in preparation for more to be added. This is a simple reformat without any wording changes. Signed-off-by: Michael Weiser Reviewed-by: Daniel Henrique Barboza Cc: Cole Robinson --- docs/manpages/virsh.rst | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst index fea0527caf..f5f962cba1 100644 --- a/docs/manpages/virsh.rst +++ b/docs/manpages/virsh.rst @@ -6952,20 +6952,22 @@ transient domains cannot be inactive, it is require= d to use one of these flags when reverting to a disk snapshot of a transient domain. =20 There are two cases where a snapshot revert involves extra risk, which -requires the use of *--force* to proceed. One is the case of a -snapshot that lacks full domain information for reverting -configuration (such as snapshots created prior to libvirt 0.9.5); -since libvirt cannot prove that the current configuration matches what -was in use at the time of the snapshot, supplying *--force* assures -libvirt that the snapshot is compatible with the current configuration -(and if it is not, the domain will likely fail to run). The other is -the case of reverting from a running domain to an active state where a -new hypervisor has to be created rather than reusing the existing -hypervisor, because it implies drawbacks such as breaking any existing -VNC or Spice connections; this condition happens with an active -snapshot that uses a provably incompatible configuration, as well as -with an inactive snapshot that is combined with the *--start* or -*--pause* flag. +requires the use of *--force* to proceed: + + * One is the case of a snapshot that lacks full domain information for + reverting configuration (such as snapshots created prior to libvirt + 0.9.5); since libvirt cannot prove that the current configuration matc= hes + what was in use at the time of the snapshot, supplying *--force* assur= es + libvirt that the snapshot is compatible with the current configuration + (and if it is not, the domain will likely fail to run). + + * The other is the case of reverting from a running domain to an active + state where a new hypervisor has to be created rather than reusing the + existing hypervisor, because it implies drawbacks such as breaking any + existing VNC or Spice connections; this condition happens with an acti= ve + snapshot that uses a provably incompatible configuration, as well as w= ith + an inactive snapshot that is combined with the *--start* or *--pause* + flag. =20 =20 snapshot-delete --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list