]> git.ipfire.org Git - thirdparty/qemu.git/commit
python/qmp: switch qemu-ga-client to AQMP
authorJohn Snow <jsnow@redhat.com>
Mon, 10 Jan 2022 23:28:51 +0000 (18:28 -0500)
committerJohn Snow <jsnow@redhat.com>
Fri, 21 Jan 2022 21:01:31 +0000 (16:01 -0500)
commit26db07516fea6e264ba3c30651145f3873f7e4a7
tree0210291696051b8fbe7b0e31254e9f9fd5481439
parent7017f3853a59cf9d16c6be24dc657417d1c8f0cb
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>
python/qemu/qmp/qemu_ga_client.py