From patchwork Thu Nov 17 10:20:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 9433791 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4FA376047D for ; Thu, 17 Nov 2016 10:21:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F4AD293D0 for ; Thu, 17 Nov 2016 10:21:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33D61293E8; Thu, 17 Nov 2016 10:21:05 +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=-6.9 required=2.0 tests=BAYES_00,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 B1364293D0 for ; Thu, 17 Nov 2016 10:21:04 +0000 (UTC) Received: from localhost ([::1]:57886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7JoV-0000LE-SB for patchwork-qemu-devel@patchwork.kernel.org; Thu, 17 Nov 2016 05:21:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7Jnx-0000GF-7W for qemu-devel@nongnu.org; Thu, 17 Nov 2016 05:20:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7Jnu-0007KR-1Y for qemu-devel@nongnu.org; Thu, 17 Nov 2016 05:20:29 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:52484) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7Jnt-0007KA-O9 for qemu-devel@nongnu.org; Thu, 17 Nov 2016 05:20:25 -0500 Received: from Quad.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0Lcg4t-1cWmuq2ovX-00k7ZM; Thu, 17 Nov 2016 11:20:19 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Thu, 17 Nov 2016 11:20:16 +0100 Message-Id: <1479378016-19022-2-git-send-email-laurent@vivier.eu> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479378016-19022-1-git-send-email-laurent@vivier.eu> References: <1479378016-19022-1-git-send-email-laurent@vivier.eu> X-Provags-ID: V03:K0:AJXWu6K6zgp/PdildAxfzgd4mSM3VyM4zLUb41Lk9C5QnI6iWfw gqAyFpeTB77LJpY8tXrqC+vKuMKIf2nSy7g1HvDFTfKtB+Afl7cdvBCMJjZ3rNfkHCLldLK eEvSu3G5ms2yek6u0bIxMbAq4UMReW2ipMHkLLsDzJB7sUHG7q7ihwJkTJx/Yq/H5rXz3g3 sVwvQXjY+h9tIw/bLKW2g== X-UI-Out-Filterresults: notjunk:1; V01:K0:cHS9LmMz7q8=:Ex8StYvOwaMw3Kzb30sGd7 802Bc0qsxBjaOhiGBI1xHbkbJJIPEPDtfCMtucswttVIegZwiVNpgpzPn8b4TV2Q1a8783Qxt Bs0mrOCde5STgT7RSKhGE1xMrer4RXQC7aAfD5eSGuGpHXZJaQjVN4lmpaIoFr16IkPVWCVlH kHpQBv0101/RDAtemWL2+ZYVlUKDyDaD6AW7BfJsYb1yjE5dEju2rkcHWCwBOWWDWhmm9JrNY Apr3kp0r1IGJXd91Z7x98fQODDK6pTE24gDz00YKI5d3EgBYLK0v3b0Y+o5QriwFPlydMBlCe WBhda/l50qeXePsEsiiHf8Sdq6iGe6sugbygNMF/kQiyBc4ySptZLofYxzb/ZHLeCoZHx//qO U6ManxmV6O/ahkfBu3mBbNwYpB3Fw3M0sZoKyovvgwybrEII/5HQXp5nKwbO+Gv9pES2g1axb VyzWTgsxJjTVikTBxFn13l2fNNCJi7RhDrlkbAeqUUJ9WZ+qrepAWQmhu97COFYNeBsrBQbdL Tas5Oi0WZKBczUkhlpmWVQ/KT9GmVBSaBEYJVQvYlC6zBZnX3cozq/DLjgUOneYh1drj+1wX8 nhBRMIV9VWeTgQqOYMCht4Dz5Y1M9+fZYIfH0Q/3170qE6I3Hi+DM61rVO+2xewK1C75jEQBQ Rohc95WJiBZbonRkTQkJIyG1bG+k+FLj7/ZAmyW2zJbV1XhglknUjo6kLdsweCsYpm/4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.10 Subject: [Qemu-devel] [PULL 1/1] qapi-schema: clarify 'colo' state for MigrationStatus 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: zhanghailiang , Laurent Vivier Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: zhanghailiang VM can not get into colo state unless users enable 'x-colo' capability for migration, Here it is necessary to clarify this. Suggested-by: Eric Blake Signed-off-by: zhanghailiang Message-Id: <1478072652-9884-1-git-send-email-zhang.zhanghailiang@huawei.com> Reviewed-by: Eric Blake Signed-off-by: Laurent Vivier --- qapi-schema.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index b0b4bf6..f3e9bfc 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -176,8 +176,9 @@ # # @guest-panicked: guest has been panicked as a result of guest OS panic # -# @colo: guest is paused to save/restore VM state under colo checkpoint (since -# 2.8) +# @colo: guest is paused to save/restore VM state under colo checkpoint, +# VM can not get into this state unless colo capability is enabled +# for migration. (since 2.8) ## { 'enum': 'RunState', 'data': [ 'debug', 'inmigrate', 'internal-error', 'io-error', 'paused', @@ -462,7 +463,8 @@ # # @failed: some error occurred during migration process. # -# @colo: VM is in the process of fault tolerance. (since 2.8) +# @colo: VM is in the process of fault tolerance, VM can not get into this +# state unless colo capability is enabled for migration. (since 2.8) # # Since: 2.3 #