From nobody Tue Nov 4 15:15:42 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 1530133546928994.1647511583427; Wed, 27 Jun 2018 14:05:46 -0700 (PDT) Received: from localhost ([::1]:33231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYHdK-00047F-A8 for importer@patchew.org; Wed, 27 Jun 2018 17:05:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYHHu-0004tp-F6 for qemu-devel@nongnu.org; Wed, 27 Jun 2018 16:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYHHp-0007MJ-IP for qemu-devel@nongnu.org; Wed, 27 Jun 2018 16:43:38 -0400 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]:32843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYHHp-0007LC-Bm for qemu-devel@nongnu.org; Wed, 27 Jun 2018 16:43:33 -0400 Received: by mail-pg0-x235.google.com with SMTP id e11-v6so1433594pgq.0 for ; Wed, 27 Jun 2018 13:43:33 -0700 (PDT) Received: from localhost.localdomain (155.150.229.35.bc.googleusercontent.com. [35.229.150.155]) by smtp.gmail.com with ESMTPSA id c67-v6sm9690428pfj.173.2018.06.27.13.43.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 13:43:31 -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=ZfdwIt/xMuOXsRNG76y6SsgDcUVgDt+VWcXS0m2Nuog=; b=QiZFtgYnku5GOysvUMqTNiaWI60+p96n6UP+hZPqInWyumx5qRnvfRuMNwQ36g1c7R 50l8IzvY4Id2MOQjwy9qH8RIu5zY6D43XzmNvbAWD017GPFOiOXVyPjKmNZOja3ZWhI3 PWKJEZe7UL4o6R6ig/Drb+k1xQXcnocn64ILMLHc58kQBKuq6QkYzMrcsFmz/sqsqzWh sGmDzVre6C9UmiiCKgTRp+w3gNe/szzZsO9WzQo/VYxG0GQG+i1Egf0EiRP1H5asFpON VLrzWwpEzWgsc6+Jw3D1eV0jg9fTu/AarETOJegWhOOPZ5VxOUNqRF+QTmyS/2gEqgs3 F/CQ== 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=ZfdwIt/xMuOXsRNG76y6SsgDcUVgDt+VWcXS0m2Nuog=; b=sXDKbQ5S/mGM3BYsdfRArKc0XW10qOgDkKuwb+EjGwIhzZoJ/qsQF64nSxU4leorXI RFVHcZvJ58e2lvXl+QXxv/WE0xWTg6XrMJoaOpdqI1zpPYcPgMo1PIre7yVkfl6by1Tw KmK5kwLslxmgxR1gLIaZSGca70A9HuA+ZsVmCF1lPfc2cWo28dthX0+TnaEHlnf0mnZ2 C5LfIBz553b1clIEdBMYrXGpWIOdXAJ933D+f0HIZ8xn1YetZF4AgJxvK3tE/OMqmUxO fSuH6F5mlEnOW8XGpcppohvp6Tj8I5YG1hCFr90/569ttjV58/2h5SfUsgbesaMs32bv 4CoA== X-Gm-Message-State: APt69E05JUdpncC1LKmK/qLcY4m91/oVnxDjXfFznoOnTZB8jMkpoUEl /kUx3ZBPqNMuvHo0YFUm+svYtA== X-Google-Smtp-Source: AAOMgpcBEkWmFJWOG2xLRr7H+FEkaWGY1kF5UT2aFbb4dCiQimuyfJEwBgfIHjlPuTSjiHwA6gpZAg== X-Received: by 2002:a62:104e:: with SMTP id y75-v6mr7335583pfi.109.1530132212093; Wed, 27 Jun 2018 13:43:32 -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: Thu, 28 Jun 2018 04:41:36 +0800 Message-Id: <20180627204136.4177-21-zhangckid@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180627204136.4177-1-zhangckid@gmail.com> References: <20180627204136.4177-1-zhangckid@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::235 Subject: [Qemu-devel] [PATCH V9 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 e289be2f41..caa68f0a9a 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.GIT