From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFUUN-0005w8-MQ for qemu-devel@nongnu.org; Fri, 30 Aug 2013 15:36:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFUUD-0002OM-2p for qemu-devel@nongnu.org; Fri, 30 Aug 2013 15:36:11 -0400 Received: from qmta05.emeryville.ca.mail.comcast.net ([76.96.30.48]:50339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFUUC-0002No-Bg for qemu-devel@nongnu.org; Fri, 30 Aug 2013 15:36:00 -0400 From: Eric Blake Date: Fri, 30 Aug 2013 13:35:53 -0600 Message-Id: <1377891353-10682-1-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH] qmp: fix integer usage in examples List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: benoit@irqsave.net, lcapitulino@redhat.com * qmp-commands.hx (block_set_io_throttle): Use correct type. Signed-off-by: Eric Blake --- Noticed while reviewing BenoƮt's series of "Continuous Leaky Bucket Throttling" - depending on whose patch goes in first, the other will have to rebase... qmp-commands.hx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index bb09e72..87cfdce 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -1412,12 +1412,12 @@ Arguments: Example: -> { "execute": "block_set_io_throttle", "arguments": { "device": "virtio0", - "bps": "1000000", - "bps_rd": "0", - "bps_wr": "0", - "iops": "0", - "iops_rd": "0", - "iops_wr": "0" } } + "bps": 1000000, + "bps_rd": 0, + "bps_wr": 0, + "iops": 0, + "iops_rd": 0, + "iops_wr": 0 } } <- { "return": {} } EQMP -- 1.8.3.1