[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 16/17] scripts/cpu-x86-uarch-abi: switch to AQMP
From: |
John Snow |
Subject: |
[PULL 16/17] scripts/cpu-x86-uarch-abi: switch to AQMP |
Date: |
Fri, 21 Jan 2022 19:09:30 -0500 |
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
---
scripts/cpu-x86-uarch-abi.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/cpu-x86-uarch-abi.py b/scripts/cpu-x86-uarch-abi.py
index 8963d90f0b..c262d2f027 100644
--- a/scripts/cpu-x86-uarch-abi.py
+++ b/scripts/cpu-x86-uarch-abi.py
@@ -6,7 +6,7 @@
# compatibility levels for each CPU model.
#
-from qemu import qmp
+from qemu.aqmp.legacy import QEMUMonitorProtocol
import sys
if len(sys.argv) != 2:
@@ -66,7 +66,7 @@
sock = sys.argv[1]
-shell = qmp.QEMUMonitorProtocol(sock)
+shell = QEMUMonitorProtocol(sock)
shell.connect()
models = shell.cmd("query-cpu-definitions")
--
2.31.1
- [PULL 03/17] python/aqmp: fix docstring typo, (continued)
- [PULL 03/17] python/aqmp: fix docstring typo, John Snow, 2022/01/21
- [PULL 01/17] python: pin setuptools below v60.0.0, John Snow, 2022/01/21
- [PULL 05/17] python/aqmp: handle asyncio.TimeoutError on execute(), John Snow, 2022/01/21
- [PULL 04/17] python/aqmp: add __del__ method to legacy interface, John Snow, 2022/01/21
- [PULL 06/17] python/aqmp: copy type definitions from qmp, John Snow, 2022/01/21
- [PULL 08/17] python/aqmp: rename AQMPError to QMPError, John Snow, 2022/01/21
- [PULL 09/17] python/qemu-ga-client: don't use deprecated CLI syntax in usage comment, John Snow, 2022/01/21
- [PULL 07/17] python/aqmp: add SocketAddrT to package root, John Snow, 2022/01/21
- [PULL 12/17] python/qmp: switch qmp-shell to AQMP, John Snow, 2022/01/21
- [PULL 13/17] python: move qmp utilities to python/qemu/utils, John Snow, 2022/01/21
- [PULL 16/17] scripts/cpu-x86-uarch-abi: switch to AQMP,
John Snow <=
- [PULL 14/17] python: move qmp-shell under the AQMP package, John Snow, 2022/01/21
- [PULL 15/17] scripts/cpu-x86-uarch-abi: fix CLI parsing, John Snow, 2022/01/21
- [PULL 10/17] python/qmp: switch qemu-ga-client to AQMP, John Snow, 2022/01/21
- [PULL 17/17] scripts/render-block-graph: switch to AQMP, John Snow, 2022/01/21
- [PULL 11/17] python/qmp: switch qom tools to AQMP, John Snow, 2022/01/21
- Re: [PULL 00/17] Python patches, Peter Maydell, 2022/01/22