summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/iotests.py
diff options
context:
space:
mode:
authorJohn Snow2022-03-21 21:33:15 +0100
committerJohn Snow2022-04-21 17:01:00 +0200
commit68e2e3dd66f25ed4653cb124620832ca7b9406e5 (patch)
tree9f786327756cdea2aeeba1f76a2863b59648a9b7 /tests/qemu-iotests/iotests.py
parentiotests/mirror-top-perms: switch to AQMP (diff)
downloadqemu-68e2e3dd66f25ed4653cb124620832ca7b9406e5.tar.gz
qemu-68e2e3dd66f25ed4653cb124620832ca7b9406e5.tar.xz
qemu-68e2e3dd66f25ed4653cb124620832ca7b9406e5.zip
iotests: switch to AQMP
iotests is already using async QMP, but to finalize the switchover we only need to update any remaining import paths to rely solely on the new library instead. 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-5-jsnow@redhat.com [Fixed minor rebase conflict. --js] Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
-rw-r--r--tests/qemu-iotests/iotests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index fe10a6cf05..6f9aa38e0e 100644
--- a/tests/qemu-iotests/iotests.py
+++ b/tests/qemu-iotests/iotests.py
@@ -37,9 +37,8 @@ import unittest
from contextlib import contextmanager
-from qemu.aqmp.legacy import QEMUMonitorProtocol
+from qemu.aqmp.legacy import QMPMessage, QEMUMonitorProtocol
from qemu.machine import qtest
-from qemu.qmp import QMPMessage
from qemu.utils import VerboseProcessError
# Use this logger for logging messages directly from the iotests module