diff options
author | John Snow | 2022-01-11 00:28:46 +0100 |
---|---|---|
committer | John Snow | 2022-01-21 22:01:31 +0100 |
commit | 3b5bf136f5798a4ea2c66875d6337ca3d6b79434 (patch) | |
tree | f50b83a4bd78a02e59a485c81cd531a970e65f7f /python/qemu/aqmp/error.py | |
parent | python/aqmp: add __del__ method to legacy interface (diff) | |
download | qemu-3b5bf136f5798a4ea2c66875d6337ca3d6b79434.tar.gz qemu-3b5bf136f5798a4ea2c66875d6337ca3d6b79434.tar.xz qemu-3b5bf136f5798a4ea2c66875d6337ca3d6b79434.zip |
python/aqmp: handle asyncio.TimeoutError on execute()
This exception can be injected into any await statement. If we are
canceled via timeout, we want to clear the pending execution record on
our way out.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'python/qemu/aqmp/error.py')
0 files changed, 0 insertions, 0 deletions