]> Git Repo - qemu.git/commitdiff
scripts/cpu-x86-uarch-abi: switch to AQMP
authorJohn Snow <[email protected]>
Mon, 10 Jan 2022 23:28:58 +0000 (18:28 -0500)
committerJohn Snow <[email protected]>
Fri, 21 Jan 2022 21:01:31 +0000 (16:01 -0500)
Signed-off-by: John Snow <[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Beraldo Leal <[email protected]>
scripts/cpu-x86-uarch-abi.py

index 8963d90f0bb8c5d7c92e7749113323525f14a4e5..c262d2f02778480a05fe19ef546d05fd05e07b81 100644 (file)
@@ -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 @@ levels = [
 
 
 sock = sys.argv[1]
-shell = qmp.QEMUMonitorProtocol(sock)
+shell = QEMUMonitorProtocol(sock)
 shell.connect()
 
 models = shell.cmd("query-cpu-definitions")
This page took 0.031289 seconds and 4 git commands to generate.