From nobody Thu May 2 04:38:42 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; spf=pass (zoho.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 1554197324335948.2049149557138; Tue, 2 Apr 2019 02:28:44 -0700 (PDT) Received: from localhost ([127.0.0.1]:49147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBFii-0006b0-CI for importer@patchew.org; Tue, 02 Apr 2019 05:28:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBFdq-00029i-GY for qemu-devel@nongnu.org; Tue, 02 Apr 2019 05:23:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBFU5-0003zN-9Q for qemu-devel@nongnu.org; Tue, 02 Apr 2019 05:13:34 -0400 Received: from mga11.intel.com ([192.55.52.93]:7515) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBFG8-0004cC-Ik for qemu-devel@nongnu.org; Tue, 02 Apr 2019 04:59:08 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2019 01:59:04 -0700 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by orsmga003.jf.intel.com with ESMTP; 02 Apr 2019 01:59:03 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,300,1549958400"; d="scan'208";a="139270344" From: Zhang Chen To: Zhang Chen , "Dr. David Alan Gilbert" , Juan Quintela , Markus Armbruster , Eric Blake , qemu-dev Date: Tue, 2 Apr 2019 16:55:21 +0800 Message-Id: <20190402085521.17973-1-chen.zhang@intel.com> X-Mailer: git-send-email 2.17.GIT X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.93 Subject: [Qemu-devel] [PATCH] qapi/migration.json: Clean up for COLOStatus 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 Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Zhang Chen Address Markus's comments change the 'last_mode' to 'last-mode'. Signed-off-by: Zhang Chen Reviewed-by: Markus Armbruster --- qapi/migration.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qapi/migration.json b/qapi/migration.json index cfde29acf8..9217886c80 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1380,7 +1380,7 @@ # @mode: COLO running mode. If COLO is running, this field will return # 'primary' or 'secondary'. # -# @last_mode: COLO last running mode. If COLO is running, this field +# @last-mode: COLO last running mode. If COLO is running, this field # will return same like mode field, after failover we can # use this field to get last colo mode. (since 4.1) # @@ -1389,7 +1389,7 @@ # Since: 3.1 ## { 'struct': 'COLOStatus', - 'data': { 'mode': 'COLOMode', 'last_mode': 'COLOMode', + 'data': { 'mode': 'COLOMode', 'last-mode': 'COLOMode', 'reason': 'COLOExitReason' } } =20 ## --=20 2.17.GIT