From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Zhang Chen Date: Tue, 2 Apr 2019 16:55:21 +0800 Message-Id: <20190402085521.17973-1-chen.zhang@intel.com> Subject: [Qemu-devel] [PATCH] qapi/migration.json: Clean up for COLOStatus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Chen , "Dr. David Alan Gilbert" , Juan Quintela , Markus Armbruster , Eric Blake , qemu-dev Cc: Zhang Chen From: Zhang Chen Address Markus's comments change the 'last_mode' to 'last-mode'. Signed-off-by: Zhang Chen --- 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' } } ## -- 2.17.GIT