[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 19/31] scripts/cpu-x86-uarch-abi: switch to AQMP
From: |
John Snow |
Subject: |
[PATCH v3 19/31] scripts/cpu-x86-uarch-abi: switch to AQMP |
Date: |
Mon, 10 Jan 2022 18:28:58 -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
- Re: [PATCH v3 10/31] python/aqmp: rename AQMPError to QMPError, (continued)
- [PATCH v3 16/31] python: move qmp-shell under the AQMP package, John Snow, 2022/01/10
- [PATCH v3 14/31] python/qmp: switch qmp-shell to AQMP, John Snow, 2022/01/10
- [PATCH v3 15/31] python: move qmp utilities to python/qemu/utils, John Snow, 2022/01/10
- [PATCH v3 17/31] python/machine: permanently switch to AQMP, John Snow, 2022/01/10
- [PATCH v3 13/31] python/qmp: switch qom tools to AQMP, John Snow, 2022/01/10
- [PATCH v3 19/31] scripts/cpu-x86-uarch-abi: switch to AQMP,
John Snow <=
- [PATCH v3 18/31] scripts/cpu-x86-uarch-abi: fix CLI parsing, John Snow, 2022/01/10
- [PATCH v3 20/31] scripts/render-block-graph: switch to AQMP, John Snow, 2022/01/10
- [PATCH v3 21/31] scripts/bench-block-job: switch to AQMP, John Snow, 2022/01/10
- [PATCH v3 22/31] iotests/mirror-top-perms: switch to AQMP, John Snow, 2022/01/10
- [PATCH v3 25/31] python/aqmp: take QMPBadPortError and parse_address from qemu.qmp, John Snow, 2022/01/10
- [PATCH v3 24/31] python: temporarily silence pylint duplicate-code warnings, John Snow, 2022/01/10
- [PATCH v3 23/31] iotests: switch to AQMP, John Snow, 2022/01/10
- [PATCH v3 27/31] python/aqmp: copy qmp docstrings to qemu.aqmp.legacy, John Snow, 2022/01/10