qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH] qmp: fix integer usage in examples


From: Benoît Canet
Subject: Re: [Qemu-trivial] [PATCH] qmp: fix integer usage in examples
Date: Fri, 30 Aug 2013 22:14:57 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Le Friday 30 Aug 2013 à 13:35:53 (-0600), Eric Blake a écrit :
> * qmp-commands.hx (block_set_io_throttle): Use correct type.
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
> 
> 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
> 

I rebased my series on top of Eric patch.

Best regards

Benoît



reply via email to

[Prev in Thread] Current Thread [Next in Thread]