diff options
author | John Snow | 2022-01-11 00:28:51 +0100 |
---|---|---|
committer | John Snow | 2022-01-21 22:01:31 +0100 |
commit | 26db07516fea6e264ba3c30651145f3873f7e4a7 (patch) | |
tree | 0210291696051b8fbe7b0e31254e9f9fd5481439 /scripts/qapi/common.py | |
parent | python/qemu-ga-client: don't use deprecated CLI syntax in usage comment (diff) | |
download | qemu-26db07516fea6e264ba3c30651145f3873f7e4a7.tar.gz qemu-26db07516fea6e264ba3c30651145f3873f7e4a7.tar.xz qemu-26db07516fea6e264ba3c30651145f3873f7e4a7.zip |
python/qmp: switch qemu-ga-client to AQMP
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>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions