qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org
Cc: benoit@irqsave.net, lcapitulino@redhat.com
Subject: [Qemu-devel] [PATCH] qmp: fix integer usage in examples
Date: Fri, 30 Aug 2013 13:35:53 -0600	[thread overview]
Message-ID: <1377891353-10682-1-git-send-email-eblake@redhat.com> (raw)

* qmp-commands.hx (block_set_io_throttle): Use correct type.

Signed-off-by: Eric Blake <eblake@redhat.com>
---

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

             reply	other threads:[~2013-08-30 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30 19:35 Eric Blake [this message]
2013-08-30 20:14 ` [Qemu-devel] [PATCH] qmp: fix integer usage in examples Benoît Canet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1377891353-10682-1-git-send-email-eblake@redhat.com \
    --to=eblake@redhat.com \
    --cc=benoit@irqsave.net \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).