On Wed, Feb 13, 2013 at 04:53:41PM +0100, Stefan Hajnoczi wrote:
> These patches report an error if negative values are given for I/O throttling
> iops or bps.
> 
> Patch 1 gets do_check_io_limits() into shape so that we can add checks.
> 
> Patch 2 adds the negative check.
> 
> Stefan Hajnoczi (2):
>   block: use Error in do_check_io_limits()
>   block: refuse negative iops and bps values
> 
>  blockdev.c | 24 ++++++++++++++++++------
>  1 file changed, 18 insertions(+), 6 deletions(-)
> 
> -- 
> 1.8.1.2
> 
> 

Applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next

Stefan

Reply via email to