From nobody Mon Feb 9 07:23:50 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1710151438365714.1101529187957; Mon, 11 Mar 2024 03:03:58 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 37D561DC7; Mon, 11 Mar 2024 06:03:57 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id CF27E1E90; Mon, 11 Mar 2024 05:45:50 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id D87151A3F; Mon, 11 Mar 2024 05:44:15 -0400 (EDT) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lists.libvirt.org (Postfix) with ESMTP id DE7D91CA9 for ; Mon, 11 Mar 2024 05:44:12 -0400 (EDT) Received: from paekkaladevi-dev-u22.gi4irqh5pfqublruu4yyku2wof.phxx.internal.cloudapp.net (unknown [20.125.125.171]) by linux.microsoft.com (Postfix) with ESMTPSA id C8CD420B74C4; Mon, 11 Mar 2024 02:44:11 -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.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com C8CD420B74C4 From: Purna Pavan Chandra Aekkaladevi To: devel@lists.libvirt.org Subject: [PATCH 10/11] docs: Update doc for virDomainSave and virDomainRestore Date: Mon, 11 Mar 2024 09:44:06 +0000 Message-Id: <20240311094407.12217-11-paekkaladevi@linux.microsoft.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240311094407.12217-1-paekkaladevi@linux.microsoft.com> References: <20240311094407.12217-1-paekkaladevi@linux.microsoft.com> MIME-Version: 1.0 Message-ID-Hash: BYTME3QMCTEDQ2HY5ERQUMIIH7OGCVFF X-Message-ID-Hash: BYTME3QMCTEDQ2HY5ERQUMIIH7OGCVFF X-MailFrom: paekkaladevi@linux.microsoft.com 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: prapal@linux.microsoft.com, paekkaladevi@microsoft.com, liuwe@microsoft.com, kumarpraveen@linux.microsoft.com, Purna Pavan Chandra Aekkaladevi 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: 1710151439641100001 ch_driver expects path to be of a dir for save/restore. So, update the documentation at global API as well. Signed-off-by: Purna Pavan Chandra Aekkaladevi --- src/libvirt-domain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 9e3c61b66a..7c6b93963c 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -852,11 +852,11 @@ virDomainPMWakeup(virDomainPtr dom, /** * virDomainSave: * @domain: a domain object - * @to: path for the output file + * @to: path for the output save file / directory * - * This method will suspend a domain and save its memory contents to - * a file on disk. After the call, if successful, the domain is not - * listed as running anymore (this ends the life of a transient domain). + * This method will suspend a domain and save its memory contents to a fil= e or + * direcotry (based on the vmm) on disk. After the call, if successful,the= domain + * is not listed as running anymore (this ends the life of a transient dom= ain). * Use virDomainRestore() to restore a domain after saving. * * See virDomainSaveFlags() and virDomainSaveParams() for more control. @@ -1053,7 +1053,7 @@ virDomainSaveParams(virDomainPtr domain, /** * virDomainRestore: * @conn: pointer to the hypervisor connection - * @from: path to the input file + * @from: path to the input save file / directory * * This method will restore a domain saved to disk by virDomainSave(). * --=20 2.34.1 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org