From patchwork Mon Oct 22 16:41:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Chen X-Patchwork-Id: 10652247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 83D3413B5 for ; Mon, 22 Oct 2018 16:42:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B819C290DD for ; Mon, 22 Oct 2018 16:42:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACF11290E6; Mon, 22 Oct 2018 16:42:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 479AB290DD for ; Mon, 22 Oct 2018 16:42:23 +0000 (UTC) Received: from localhost ([::1]:36216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEdHZ-00086Q-Mi for patchwork-qemu-devel@patchwork.kernel.org; Mon, 22 Oct 2018 12:42:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEdGs-0007nJ-QO for qemu-devel@nongnu.org; Mon, 22 Oct 2018 12:41:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEdGo-0002V0-Qe for qemu-devel@nongnu.org; Mon, 22 Oct 2018 12:41:38 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:35204) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEdGo-0002P5-I8 for qemu-devel@nongnu.org; Mon, 22 Oct 2018 12:41:34 -0400 Received: by mail-pg1-x541.google.com with SMTP id 32-v6so8101169pgu.2 for ; Mon, 22 Oct 2018 09:41:34 -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; bh=En/VXQSksXzjjs2rV38pyoKD3KSFonhnjXbR+7WOTv4=; b=fKrdyffWFTXizh74NsqGoRDGQPCnon9w19oTPOumaftta2NJcggjoZlfkFZ/I2QzSB wCoqCekojZJe9s8Sja/2vWK+/0XaPJt3+Zt2Kv01hgL4Keyu1r+EZe4eQakQjr1KwAEm JNzE5VZehiFBDxTkLvSBVAgjgaMKKXjjlRh+i+a8Z4HeuGhlnXgfN6D7kt8ug7admXB5 uQsZp/4wkqdL88rf2kW0JdfacLmOfyeAFAYxKGmMQL/2oGtVOXIfLhyhUvoXIsz7YWhV +k6zaEpGxXEyiu7fQD2GU45Eax2aUzxBHGpDqbDS2egfuRGPHvmzgBBHTefg1QItAxNt Rcng== 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; bh=En/VXQSksXzjjs2rV38pyoKD3KSFonhnjXbR+7WOTv4=; b=p8VDHXbfM16D9W2rO3H3aOhF4JXNSRnSHPoMT/bDdQnKW5rAOgmFOYVK78InSTePxG TuvqqaZq+qPe+vpvI4zsp77G2DzhMivOZxTiJQ8l8cXnD8VIn3BM92dvDI1spcOCus9j H48S7TUu0Mvb+yA8c4xZEtCrImTK4tHxjiMPQ4uZWXDhQnSa232W3Y7Pc0SlwAjHQP0m r4n74LAd0YWXYz0EOX98+AA2XhACo8N16n0qn001d3JVb0ylBijuopbIU5SeQzB9fw8r OdEDPBhJT2H8vvnHCNWSgYlfk55fjyuP3BRvrbdSYYtd3ZEG5YvFE0YWwW5b4IJ+3xO2 67FA== X-Gm-Message-State: ABuFfojwuALrcqS+L4RcVh7VQAbBqKT6sCLo25Cfz0kSlFkmQN1qvuV1 +xqKpbk5PMArGiVLnQ4P/pQqqYcF X-Google-Smtp-Source: ACcGV63wAx8xDro424S2MvCgojYH8QPSayRjmPpALefBZapm2eR7suWXUjjSn+A3WNGrsYjijyJ4sw== X-Received: by 2002:a62:6f43:: with SMTP id k64-v6mr44862449pfc.87.1540226492778; Mon, 22 Oct 2018 09:41:32 -0700 (PDT) Received: from localhost.localdomain (155.150.229.35.bc.googleusercontent.com. [35.229.150.155]) by smtp.gmail.com with ESMTPSA id 189-v6sm38881874pfe.121.2018.10.22.09.41.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 09:41:31 -0700 (PDT) From: Zhang Chen To: qemu-devel@nongnu.org, Eric Blake , Markus Armbruster , "Dr . David Alan Gilbert" Date: Tue, 23 Oct 2018 00:41:18 +0800 Message-Id: <20181022164118.5502-1-zhangckid@gmail.com> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::541 Subject: [Qemu-devel] [PATCH] qapi: Fix COLOStatus and query-colo-status since version 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP This structure and command have missed qemu version 3.0, so fix it to since version 3.1. Signed-off-by: Zhang Chen Reviewed-by: Eric Blake Reviewed-by: Dr. David Alan Gilbert --- qapi/migration.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qapi/migration.json b/qapi/migration.json index 0928f4b727..38d4c41d88 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1317,7 +1317,7 @@ # # @reason: describes the reason for the COLO exit. # -# Since: 3.0 +# Since: 3.1 ## { 'struct': 'COLOStatus', 'data': { 'mode': 'COLOMode', 'reason': 'COLOExitReason' } } @@ -1334,7 +1334,7 @@ # -> { "execute": "query-colo-status" } # <- { "return": { "mode": "primary", "active": true, "reason": "request" } } # -# Since: 3.0 +# Since: 3.1 ## { 'command': 'query-colo-status', 'returns': 'COLOStatus' }