From nobody Wed Nov 5 02:29:53 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 1532288908497751.1437080714076; Sun, 22 Jul 2018 12:48:28 -0700 (PDT) Received: from localhost ([::1]:57279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhKL1-00050q-3E for importer@patchew.org; Sun, 22 Jul 2018 15:48:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhK9C-0003aC-Nl for qemu-devel@nongnu.org; Sun, 22 Jul 2018 15:36:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhK9B-00018M-Ve for qemu-devel@nongnu.org; Sun, 22 Jul 2018 15:36:02 -0400 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:33573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhK9B-000181-PT for qemu-devel@nongnu.org; Sun, 22 Jul 2018 15:36:01 -0400 Received: by mail-pf1-x443.google.com with SMTP id b17-v6so495873pfi.0 for ; Sun, 22 Jul 2018 12:36:01 -0700 (PDT) Received: from localhost.localdomain (155.150.229.35.bc.googleusercontent.com. [35.229.150.155]) by smtp.gmail.com with ESMTPSA id 87-v6sm14215353pfn.103.2018.07.22.12.35.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jul 2018 12:35:59 -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:in-reply-to:references; bh=+PiF/0CCxP8AkFjhSAmThhHI/acJGqb7bzcME2c958A=; b=ZVmOJIMnbRAs8bkZZPC/gXSPJajjER1gp6UDJxu+bkXEFi4KHAD3RyVOfN8z0aMoFz XTXwC2M8QgzhDvCMWaIyDRCbzuQz3sxWY5d+lxtzrtngLEf/885t8dDsELcObCBcKmUl 5xTb/L22fOMfKVNVTV6SZX4jIGDowbVsRiLBoaeyUKhrNL4Dk1o8DpKETXgTHPGTw8Vs bpdT9ncHCyF6573ZBp/Wh87NKKompoGWTCoHhwHo+J4O3U+ygC9iatsOeMYi/jqlVjph /NKdECek8taHrbhNj98zRcfG0KXY9TcI+RjgjPC/YlGA8TuV3cgf8l/A0vmNq+aCL//v 9ksA== 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:in-reply-to :references; bh=+PiF/0CCxP8AkFjhSAmThhHI/acJGqb7bzcME2c958A=; b=G0niJzAww/dsYC5+ZAp9Ir7Okff/r2dzfsEmwqD+wtQmJgUFxJzxh8EucftAHc3l/n HN887WGufGc7jXdat1mmYR0ijTHznqmWtT9dpcKwhEQ4kHyEMPQh2hXWRZFdso/8qK0H lDNuo+S3r8JWGVgNJ22YThS/hLOLwNavfKaZu2v5n/erWH/EvQm1ONLVFfSRceiO8d7Y DmDL6x7hvkfnNQw0cn23tNkkGBGhxRO8b+5Kcwo+8LBeK3JDnh45XAWc97mYSa961L5J ZdDOWYrCt4CqESOGiOeYZdU4sQ4qiAGBdCzt1tJczC7sJ82m39V6OKEvFVJfmrTZ4p10 NNzQ== X-Gm-Message-State: AOUpUlFsCoV5HoziTZsrDZ5PHroQVOMmQjpD2LXOCx7torO+7aIK3cYG DVOIdqIEjAM5Sp2XAM8YphoJQBdQ X-Google-Smtp-Source: AAOMgpeinyTn1tlKvSv9s61uX/t89K3wkKRKLPsGZDMF7G7q9haUzF9JgNjesQcHnzyvjUewNxxjmQ== X-Received: by 2002:a63:1b17:: with SMTP id b23-v6mr9601353pgb.275.1532288160614; Sun, 22 Jul 2018 12:36:00 -0700 (PDT) From: Zhang Chen To: qemu-devel@nongnu.org, Paolo Bonzini , Juan Quintela , "Dr . David Alan Gilbert" , Jason Wang , Eric Blake , Markus Armbruster Date: Mon, 23 Jul 2018 03:33:50 +0800 Message-Id: <20180722193350.6028-21-zhangckid@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180722193350.6028-1-zhangckid@gmail.com> References: <20180722193350.6028-1-zhangckid@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::443 Subject: [Qemu-devel] [PATCH V10 20/20] docs: Add COLO status diagram to COLO-FT.txt 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: Zhang Chen , zhanghailiang , Li Zhijian , 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: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Zhang Chen This diagram make user better understand COLO. Suggested by Markus Armbruster. Signed-off-by: Zhang Chen --- docs/COLO-FT.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt index d7c7dcda8f..d5007895d1 100644 --- a/docs/COLO-FT.txt +++ b/docs/COLO-FT.txt @@ -110,6 +110,40 @@ Note: HeartBeat has not been implemented yet, so you need to trigger failover pr= ocess by using 'x-colo-lost-heartbeat' command. =20 +=3D=3D COLO operation status =3D=3D + ++-----------------+ +| | +| Start COLO | +| | ++--------+--------+ + | + | Main qmp command: + | migrate-set-capabilities with x-colo + | migrate + | + v ++--------+--------+ +| | +| COLO running | +| | ++--------+--------+ + | + | Main qmp command: + | x-colo-lost-heartbeat + | or + | some error happened + v ++--------+--------+ +| | send qmp event: +| COLO failover | COLO_EXIT +| | ++-----------------+ + +COLO use the qmp command switching and report operation status. +The diagram just write the main qmp command, you can get the detail +in test procedure. + =3D=3D Test procedure =3D=3D 1. Startup qemu Primary: --=20 2.17.1