]> git.proxmox.com Git - qemu.git/commit - qmp-commands.hx
qmp: fix integer usage in examples
authorEric Blake <eblake@redhat.com>
Fri, 30 Aug 2013 20:44:11 +0000 (14:44 -0600)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 1 Sep 2013 15:46:58 +0000 (19:46 +0400)
commit586b546657da7a762106abb5056d90a140d1a2f5
tree1815130dbb7bdaabed7a61783fea4c4b7ee452f6
parenta32b12741bf45bf3f46bffe5a79cb2548a060cd8
qmp: fix integer usage in examples

Per the qapi schema, block_set_io_throttle takes most arguments
as ints, not strings.

* qmp-commands.hx (block_set_io_throttle): Use correct type.  Fix
whitespace and a copy-paste bug in the process.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qmp-commands.hx