From patchwork Tue Sep 13 13:01:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= X-Patchwork-Id: 669351 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 ozlabs.org (Postfix) with ESMTPS id 3sYQLx2RBQz9s9c for ; Tue, 13 Sep 2016 23:22:01 +1000 (AEST) Received: from localhost ([::1]:48783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnew-0003ND-75 for incoming@patchwork.ozlabs.org; Tue, 13 Sep 2016 09:21:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnMp-0004ro-3F for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjnMk-0004Vt-6x for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnMk-0004Vl-2D for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:10 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A0A297A495 for ; Tue, 13 Sep 2016 13:03:09 +0000 (UTC) Received: from localhost (ovpn-116-68.phx2.redhat.com [10.3.116.68]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u8DD37gN022850; Tue, 13 Sep 2016 09:03:08 -0400 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= To: qemu-devel@nongnu.org Date: Tue, 13 Sep 2016 17:01:54 +0400 Message-Id: <20160913130209.695-16-marcandre.lureau@redhat.com> In-Reply-To: <20160913130209.695-1-marcandre.lureau@redhat.com> References: <20160913130209.695-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 13 Sep 2016 13:03:09 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 15/30] qmp-commands: move 'query-migrate-parameters' doc to schema 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: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , armbru@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake --- docs/qmp-commands.txt | 29 ----------------------------- qapi-schema.json | 13 +++++++++++++ 2 files changed, 13 insertions(+), 29 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index fc6f054..d96dd27 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -2441,35 +2441,6 @@ Example: ] } -query-migrate-parameters ------------------------- - -Query current migration parameters - -- "parameters": migration parameters value - - "compress-level" : compression level value (json-int) - - "compress-threads" : compression thread count value (json-int) - - "decompress-threads" : decompression thread count value (json-int) - - "cpu-throttle-initial" : initial percentage of time guest cpus are - throttled (json-int) - - "cpu-throttle-increment" : throttle increasing percentage for - auto-converge (json-int) - -Arguments: - -Example: - --> { "execute": "query-migrate-parameters" } -<- { - "return": { - "decompress-threads": 2, - "cpu-throttle-increment": 10, - "compress-threads": 8, - "compress-level": 1, - "cpu-throttle-initial": 20 - } - } - query-balloon ------------- diff --git a/qapi-schema.json b/qapi-schema.json index df83457..e57f223 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1011,6 +1011,19 @@ # Returns: @MigrationParameters # # Since: 2.4 +# +# Example: +# +# -> { "execute": "query-migrate-parameters" } +# <- { "return": { +# "decompress-threads": 2, +# "cpu-throttle-increment": 10, +# "compress-threads": 8, +# "compress-level": 1, +# "cpu-throttle-initial": 20 +# } +# } +# ## { 'command': 'query-migrate-parameters', 'returns': 'MigrationParameters' }