diff options
| author | John Snow <jsnow@redhat.com> | 2022-01-10 18:28:51 -0500 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2022-01-21 16:01:31 -0500 |
| commit | 26db07516fea6e264ba3c30651145f3873f7e4a7 (patch) | |
| tree | 0210291696051b8fbe7b0e31254e9f9fd5481439 /python/qemu/utils/accel.py | |
| parent | 7017f3853a59cf9d16c6be24dc657417d1c8f0cb (diff) | |
| download | focaccia-qemu-26db07516fea6e264ba3c30651145f3873f7e4a7.tar.gz focaccia-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 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions