From nobody Wed Nov 5 16:33:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 15361647250301002.8927422483051; Wed, 5 Sep 2018 09:25:25 -0700 (PDT) Received: from localhost ([::1]:57068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxacN-0006eK-Tt for importer@patchew.org; Wed, 05 Sep 2018 12:25:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxab2-0005eV-Cw for qemu-devel@nongnu.org; Wed, 05 Sep 2018 12:24:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxaQ2-0008H1-Qb for qemu-devel@nongnu.org; Wed, 05 Sep 2018 12:12:42 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:45705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxaQ2-0008Ei-KA for qemu-devel@nongnu.org; Wed, 05 Sep 2018 12:12:38 -0400 Received: by mail-pf1-x442.google.com with SMTP id i26-v6so3709806pfo.12 for ; Wed, 05 Sep 2018 09:12:37 -0700 (PDT) Received: from zhangc-ss-3.c.lucid-bebop-198320.internal (155.150.229.35.bc.googleusercontent.com. [35.229.150.155]) by smtp.gmail.com with ESMTPSA id 193-v6sm4164788pgh.47.2018.09.05.09.12.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Sep 2018 09:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+EGHU6Rzakh+LHr5r5u6wSomvUCu5Yh3mMhefiD50po=; b=DKXCdoksnAArNhOYprCuWubiAQEpv5PsQfQlkQgR4HeStD+239jreT5UXC7sZ57lbm QZ0tMSAv+exQqiig8NDNpIEOxOD8YBbXxZHSNdGUCWbgVnO6rGMNqr9SKmtFw8Q8Z4b6 J6YlGxX4YuvEhmNuQfe6I1TpAr3khRG3Hsc3SqQbGtOVykKS59IuPvX9Zpe7SJBwvHYt LZzKjniuTqufltxSSd6vanu2uiESWmzDrjR2052gq1gP3a8Zntn046xNT05cm2cfws+3 9GyXiZ514a2Bz9gtIGmLqczI8DU1kkjj8nfxyi95Z4mPutTCCjJQpLkNX+wZqWnva5Bn KUPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+EGHU6Rzakh+LHr5r5u6wSomvUCu5Yh3mMhefiD50po=; b=XpU/OsGXIrjDcYMEJG4b3dp14QPxDX2VQiTDF4XLp63yeZhSvi9x8vyP61sEui3ZQO VoEIz2OuCEq+dkpCC5/pk5DhwZuiLDLX9Sn8zvGb4ZPeZRHhyPIWHCktn5KHrj/VHvkV f/1c+GS8YiHQBeaSSUafz+6Y3Judts/av64BKk/1isE7xoutpG1bJWmwTnVWgLcL/0Z9 fpHer9KQMvVWSCViG+hXlGBct7n45iYLahBQqcTbWKLdSUVEa0slKWihE70f/PV51MRy /wPq69e0PMQDgw4PGbejy0pTsV7HDYR/ggkoHW0SQX/Tcf1Q59BJ2wJORDF21jLZ78Vn 7okQ== X-Gm-Message-State: APzg51BuzLSteEXpRKFkpU2rhYdfc5t2Xv8+F+C7+Rtz7lAw1IcHKDsk cqYOInGwmENVL4GavnLpE2KhNb9k X-Google-Smtp-Source: ANB0VdbZObIZVsLUN9LwXG7+m8+m3w0ehaEaN3bQ5G7QB8aFUo7L79ZdrtmRG8mevM9ttRrkW5Yi0A== X-Received: by 2002:a65:65c6:: with SMTP id y6-v6mr37649670pgv.436.1536163956678; Wed, 05 Sep 2018 09:12:36 -0700 (PDT) From: Zhang Chen To: qemu-devel@nongnu.org, Wen Congyang , xie Changlong Date: Wed, 5 Sep 2018 16:12:00 +0000 Message-Id: <1536163920-2443-1-git-send-email-zhangckid@gmail.com> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::442 Subject: [Qemu-devel] [PATCH] docs/block-replication.txt: Add more detail about replication_do_checkpoint_all X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Dr . David Alan Gilbert" , Zhang Chen Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add more detail description for COLO checkpoint use case. Suggested by Dr. David Alan Gilbert Signed-off-by: Zhang Chen --- docs/block-replication.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/block-replication.txt b/docs/block-replication.txt index 6bde6737fb..b6c5e94764 100644 --- a/docs/block-replication.txt +++ b/docs/block-replication.txt @@ -131,9 +131,10 @@ a. replication_start_all() thread. b. replication_do_checkpoint_all() This interface is called after all VM state is transferred to - Secondary QEMU. The Disk buffer will be dropped in this interface. - The caller must hold the I/O mutex lock if it is in migration/checkpoint - thread. + secondary node, and in primary node this interface no need to + called after synchronizing all the states. The Disk buffer will be drop= ped + in this interface. The caller must hold the I/O mutex lock if it is + in migration/checkpoint thread. c. replication_get_error_all() This interface is called to check if error happened in replication. The caller must hold the I/O mutex lock if it is in migration/checkpoint --=20 2.17.GIT