]> git.proxmox.com Git - qemu.git/commit
block: refuse negative iops and bps values
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 13 Feb 2013 15:53:43 +0000 (16:53 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 22 Feb 2013 20:21:09 +0000 (21:21 +0100)
commit7d81c1413c9c9bdcc966453636e4ca7776b59861
tree25d87d2bbcb2d83ea366fe3e9d0b457f8218bc13
parentc546194f260fb3e391193cb8cc33505618077ecb
block: refuse negative iops and bps values

Negative I/O throttling iops and bps values do not make sense so reject
them with an error message.

Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
blockdev.c