From nobody Wed Dec 4 08:20:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1715586988492456.42137937447785; Mon, 13 May 2024 00:56:28 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 6801F1B09; Mon, 13 May 2024 03:56:27 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id C59DF1C8C; Mon, 13 May 2024 03:52:27 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id EDA261A79; Sat, 11 May 2024 16:01:05 -0400 (EDT) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 4D4891A68 for ; Sat, 11 May 2024 16:01:02 -0400 (EDT) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-2b273cbbdfdso2487406a91.1 for ; Sat, 11 May 2024 13:01:02 -0700 (PDT) Received: from iamthewifi.iiit.ac.in ([218.185.248.66]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2b6710565e3sm5222872a91.11.2024.05.11.13.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 13:01:00 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715457661; x=1716062461; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LKaC0JleVjwRa6ZpDzaBo89g00lQSaX+O25ObWyO6lY=; b=nh4vtoemLiTYI3Fgq75bAgzTRv+yAvDl68yWr47hsc6yBKrvaCgPZ5TagEbW/qS5HP NsMpK9mAehEzILuqToRqUUVbM1z20gOzMAy/FBZHbYFyp9kKKNqJwMhm55B0AUfCdFTN CiHgBkeFL6Yvpwx8dBMM6ME8g+ocPFgZ2kL9maUVGfg/BQDEy6f3pTWGxrXETr5nsCl2 n//6tEI19FYX3nWp+MhJxOxzG6hNhyrxyoG4sP9lQ/csi8ISa4TabiZUABUhgpDYBpw6 s64hiszElfPC3lD6MMFB8I/Parj0KB8ooTf0lkER0KHbldd4lUJfda3B2nyEzsre7yIF cXtQ== X-Gm-Message-State: AOJu0YynHDJ5dQ19hqnZkWu7GgTNhSqvoHcMjdnivPJfbTivYDrvHz89 PAdfn+JL37gEtGroj1NlLyS+lxC5KXTcsKnj4QpSq3e95GcNQzi6i/y0FBJ4 X-Google-Smtp-Source: AGHT+IHJLCzUH/7KDsNWxWGk9IXpdYMbttLb15rthV83f6ao/dbX9z6vh+krOOPWOqgygHV4Xvzkbg== X-Received: by 2002:a17:90a:69e4:b0:29b:c2b3:2712 with SMTP id 98e67ed59e1d1-2b6cc97d7a6mr5760669a91.26.1715457660895; Sat, 11 May 2024 13:01:00 -0700 (PDT) From: Abhiram Tilak To: devel@lists.libvirt.org Subject: [PATCH] "docs: formatsnapshot: add docs for snapshotDeleteInProgress" Date: Sun, 12 May 2024 01:30:45 +0530 Message-ID: <20240511200044.32808-2-atp.exp@gmail.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-MailFrom: atp.exp@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0 Message-ID-Hash: EVC4HU7A6D3UOQGBYIYA6LDMTUURIFHQ X-Message-ID-Hash: EVC4HU7A6D3UOQGBYIYA6LDMTUURIFHQ X-Mailman-Approved-At: Mon, 13 May 2024 07:52:21 -0400 CC: Abhiram Tilak X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1715586990316100001 Adds documentation for the element to the libvirt snapshot format XML reference. The element, introduced at commit 565bcb5d79, ensures the consistency of qcow2 images during snapshot deletion operations by marking disks in snapshot metadata as invalid until deletion is successfully completed. The commit was merged but the related documentation was missing. Resolves: https://gitlab.com/libvirt/libvirt/-/issues/609 Signed-off-by: Abhiram Tilak --- docs/formatsnapshot.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/formatsnapshot.rst b/docs/formatsnapshot.rst index 570a988442..e3d0d47e00 100644 --- a/docs/formatsnapshot.rst +++ b/docs/formatsnapshot.rst @@ -170,6 +170,13 @@ The top-level ``domainsnapshot`` element may contain t= he following elements: sub-element can be used with same semantics as the identically na= med subelement of the domain definition disk's driver. + ``snapshotDeleteInProgress`` + + If a the snapshot is marked for deletion, the disk is invalidated= . The + sub-element ``snapshotDeleteInProgress`` marks the disk in the sn= apshot + as invalid until the snapshot delete is completed successfully. + :since:`Since 9.0` + ``creationTime`` A readonly representation of the time this snapshot was created. The ti= me is -- 2.44.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org