From nobody Tue May 21 09:18:44 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1634547766210557.5781209334194; Mon, 18 Oct 2021 02:02:46 -0700 (PDT) Received: from localhost ([::1]:50300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcOXc-00066R-PI for importer@patchew.org; Mon, 18 Oct 2021 05:02:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcOUz-00041k-Cy; Mon, 18 Oct 2021 05:00:06 -0400 Received: from mga09.intel.com ([134.134.136.24]:31409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcOUu-0004MU-Ov; Mon, 18 Oct 2021 05:00:00 -0400 Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 01:59:51 -0700 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 01:59:49 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10140"; a="228084845" X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="228084845" X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="443325876" From: Zhang Chen To: Xie Changlong , Wen Congyang , qemu-trivial@nongnu.org Subject: [PATCH] docs/block-replication.txt: Fix replication top-id command demo Date: Mon, 18 Oct 2021 16:50:44 +0800 Message-Id: <20211018085044.2788276-1-chen.zhang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=134.134.136.24; envelope-from=chen.zhang@intel.com; helo=mga09.intel.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen , Lukas Straub , qemu-dev , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1634547768613100001 Content-Type: text/plain; charset="utf-8" This demo not correct, the original childs1 can't pass the the bdrv_is_root_node check in replcation_start(). Keep consistent with docs/COLO-FT.txt Signed-off-by: Zhang Chen Reviewed-by: Laurent Vivier --- docs/block-replication.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/block-replication.txt b/docs/block-replication.txt index 108e9166a8..66ad540676 100644 --- a/docs/block-replication.txt +++ b/docs/block-replication.txt @@ -179,7 +179,7 @@ Primary: =20 Secondary: -drive if=3Dnone,driver=3Draw,file.filename=3D1.raw,id=3Dcolo1 \ - -drive if=3Dnone,id=3Dchilds1,driver=3Dreplication,mode=3Dsecondary,top-= id=3Dchilds1 + -drive if=3Dnone,id=3Dchilds1,driver=3Dreplication,mode=3Dsecondary,top-= id=3Dtop-disk1 file.file.filename=3Dactive_disk.qcow2,\ file.driver=3Dqcow2,\ file.backing.file.filename=3Dhidden_disk.qcow2,\ --=20 2.25.1