aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine/qtest.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2022-03-21 16:33:12 -0400
committerJohn Snow <jsnow@redhat.com>2022-04-21 11:01:00 -0400
commita4225303a1a762fb56907396fe6ac8caeb597552 (patch)
treeabb14ad84a7a303086a7308bf247b216e9b1a4fb /python/qemu/machine/qtest.py
parentb1efff6bf031a93b5b8bf3912ddc720cc1653a61 (diff)
downloadqemu-a4225303a1a762fb56907396fe6ac8caeb597552.zip
qemu-a4225303a1a762fb56907396fe6ac8caeb597552.tar.gz
qemu-a4225303a1a762fb56907396fe6ac8caeb597552.tar.bz2
python/machine: permanently switch to AQMP
Remove the QEMU_PYTHON_LEGACY_QMP environment variable, making the switch from sync qmp to async qmp permanent. Update exceptions and import paths as necessary. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Beraldo Leal <bleal@redhat.com> Acked-by: Hanna Reitz <hreitz@redhat.com> Message-id: 20220321203315.909411-2-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/machine/qtest.py')
-rw-r--r--python/qemu/machine/qtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qemu/machine/qtest.py b/python/qemu/machine/qtest.py
index f2f9aaa..13e0aaf 100644
--- a/python/qemu/machine/qtest.py
+++ b/python/qemu/machine/qtest.py
@@ -26,7 +26,7 @@ from typing import (
TextIO,
)
-from qemu.qmp import SocketAddrT # pylint: disable=import-error
+from qemu.aqmp import SocketAddrT
from .machine import QEMUMachine