diff options
author | 2023-07-28 10:20:03 +0800 | |
---|---|---|
committer | 2023-08-29 10:49:24 +0200 | |
commit | e76f201f69e76653f3e7301f2183421d9267e2f5 (patch) | |
tree | a2cb010b6cb8e03c74bd72d6fed5c196dab3df64 /scripts/qapi/source.py | |
parent | cryptodev: use NULL throttle timer cb for read direction (diff) | |
download | qemu-e76f201f69e76653f3e7301f2183421d9267e2f5.tar.xz qemu-e76f201f69e76653f3e7301f2183421d9267e2f5.zip |
throttle: use enum ThrottleDirection instead of bool is_write
enum ThrottleDirection is already there, use ThrottleDirection instead
of 'bool is_write' for throttle API, also modify related codes from
block, fsdev, cryptodev and tests.
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20230728022006.1098509-7-pizhenwei@bytedance.com>
Signed-off-by: Hanna Czenczek <hreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions