diff options
author | Alberto Garcia <berto@igalia.com> | 2016-02-18 12:26:57 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:30 -0600 |
commit | 45a97a86738600fcb93eb1ce763a743acb630db6 (patch) | |
tree | e70faa39c5286f25989e4535a2e5d5b984ac0c32 /include/qemu/throttle.h | |
parent | d4d2f8a497b3c1414b9397645a72594d1765ee5d (diff) | |
download | hqemu-45a97a86738600fcb93eb1ce763a743acb630db6.zip hqemu-45a97a86738600fcb93eb1ce763a743acb630db6.tar.gz |
throttle: Make throttle_is_valid() set errp
The caller does not need to set it, and this will allow us to refactor
this function later.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qemu/throttle.h')
-rw-r--r-- | include/qemu/throttle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/throttle.h b/include/qemu/throttle.h index 03bdec0..ecae621 100644 --- a/include/qemu/throttle.h +++ b/include/qemu/throttle.h @@ -108,7 +108,7 @@ bool throttle_enabled(ThrottleConfig *cfg); bool throttle_conflicting(ThrottleConfig *cfg, Error **errp); -bool throttle_is_valid(ThrottleConfig *cfg); +bool throttle_is_valid(ThrottleConfig *cfg, Error **errp); bool throttle_max_is_missing_limit(ThrottleConfig *cfg, Error **errp); |