]> git.proxmox.com Git - mirror_qemu.git/commit - tests/test-throttle.c
throttle: Test burst limits lower than the normal limits
authorAlberto Garcia <berto@igalia.com>
Thu, 28 Jul 2016 08:08:13 +0000 (11:08 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 5 Aug 2016 08:59:06 +0000 (09:59 +0100)
commit5fc8c052ce0ab8cc476a4a3888cc31d52783c315
treec45b5eab6e99337ce28042f8c1120bdc11e1e98a
parentaaa1e77ffae5255fb2a35284e7fc721742bb41c8
throttle: Test burst limits lower than the normal limits

This checks that making FOO_max lower than FOO is not allowed.

We could also forbid having FOO_max == FOO, but that doesn't have
any odd side effects and it would require us to update several other
tests, so let's keep it simple.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 2f90f9ee58aa14b7bd985f67c5996b06e0ab6c19.1469693110.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/test-throttle.c