diff options
| author | Peter Maydell | 2015-08-14 16:51:24 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-08-14 16:51:24 +0200 |
| commit | 8e0adf64140ab93aba79be2f0227a47eda78e464 (patch) | |
| tree | f9de7df220b45ac9eb8dd8c2390dad874728b175 /include | |
| parent | Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150813' into staging (diff) | |
| parent | throttle: add throttle_max_is_missing_limit() test (diff) | |
| download | qemu-8e0adf64140ab93aba79be2f0227a47eda78e464.tar.gz qemu-8e0adf64140ab93aba79be2f0227a47eda78e464.tar.xz qemu-8e0adf64140ab93aba79be2f0227a47eda78e464.zip | |
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
# gpg: Signature made Fri 14 Aug 2015 15:41:14 BST using RSA key ID 81AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>"
* remotes/stefanha/tags/block-pull-request:
throttle: add throttle_max_is_missing_limit() test
throttle: refuse bps_max/iops_max without bps/iops
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qemu/throttle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/throttle.h b/include/qemu/throttle.h index 995b2d5957..12faaad959 100644 --- a/include/qemu/throttle.h +++ b/include/qemu/throttle.h @@ -114,6 +114,8 @@ bool throttle_conflicting(ThrottleConfig *cfg); bool throttle_is_valid(ThrottleConfig *cfg); +bool throttle_max_is_missing_limit(ThrottleConfig *cfg); + void throttle_config(ThrottleState *ts, ThrottleTimers *tt, ThrottleConfig *cfg); |
