aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine/console_socket.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2022-01-10 18:28:46 -0500
committerJohn Snow <jsnow@redhat.com>2022-01-21 16:01:31 -0500
commit3b5bf136f5798a4ea2c66875d6337ca3d6b79434 (patch)
treef50b83a4bd78a02e59a485c81cd531a970e65f7f /python/qemu/machine/console_socket.py
parent3bc72e3aed76e0326703db81964b13f1da075cbf (diff)
downloadqemu-3b5bf136f5798a4ea2c66875d6337ca3d6b79434.zip
qemu-3b5bf136f5798a4ea2c66875d6337ca3d6b79434.tar.gz
qemu-3b5bf136f5798a4ea2c66875d6337ca3d6b79434.tar.bz2
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/machine/console_socket.py')
0 files changed, 0 insertions, 0 deletions