Async QMP always raises a "ConnectError" on any connection error which houses the cause in a second exception. We can check if this root cause was python's ConnectionError to determine a fairly similar condition to the original error check here. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Beraldo Leal <bleal@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
py.typed | ||
qemu_ga_client.py | ||
qmp_shell.py | ||
qom.py | ||
qom_common.py | ||
qom_fuse.py | ||
README.rst |
qemu.qmp package ================ This package provides a library used for connecting to and communicating with QMP servers. It is used extensively by iotests, vm tests, avocado tests, and other utilities in the ./scripts directory. It is not a fully-fledged SDK and is subject to change at any time. See the documentation in ``__init__.py`` for more information.