From patchwork Wed Dec 15 19:56:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 75676 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id ACC3CB6F1E for ; Thu, 16 Dec 2010 06:58:23 +1100 (EST) Received: from localhost ([127.0.0.1]:48985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSxUS-0002rw-3g for incoming@patchwork.ozlabs.org; Wed, 15 Dec 2010 14:58:20 -0500 Received: from [140.186.70.92] (port=40270 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSxSb-0001g5-Jq for qemu-devel@nongnu.org; Wed, 15 Dec 2010 14:56:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSxSZ-0004xh-Se for qemu-devel@nongnu.org; Wed, 15 Dec 2010 14:56:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSxSZ-0004xM-Jf for qemu-devel@nongnu.org; Wed, 15 Dec 2010 14:56:23 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBFJuMBA006629 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 15 Dec 2010 14:56:22 -0500 Received: from doriath (ovpn-113-71.phx2.redhat.com [10.3.113.71]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oBFJuIrR017193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 15 Dec 2010 14:56:21 -0500 Date: Wed, 15 Dec 2010 17:56:18 -0200 From: Luiz Capitulino To: qemu-devel@nongnu.org Message-ID: <20101215175618.530eec6c@doriath> Organization: Red Hat Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: Markus Armbruster Subject: [Qemu-devel] [PATCH] Fix migrate set speed doc arg X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We used to ignore any fractional part in 0.13, but due to recent changes (started with 9f9b17a4f0865286391e4d3a0a735230122a2289) migrate_set_speed will reject the fractional part. We don't expect existing clients to be relying on this, but we need to update the documentation to reflect the change. Signed-off-by: Luiz Capitulino --- qmp-commands.hx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index 3486223..164ecbc 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -510,7 +510,7 @@ Set maximum speed for migrations. Arguments: -- "value": maximum speed, in bytes per second (json-number) +- "value": maximum speed, in bytes per second (json-int) Example: