Skip to content

Commit 0665410

Browse files
committed
scripts/cpu-x86-uarch-abi: switch to AQMP
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]>
1 parent 9922125 commit 0665410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/cpu-x86-uarch-abi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# compatibility levels for each CPU model.
77
#
88

9-
from qemu import qmp
9+
from qemu.aqmp.legacy import QEMUMonitorProtocol
1010
import sys
1111

1212
if len(sys.argv) != 2:
@@ -66,7 +66,7 @@
6666

6767

6868
sock = sys.argv[1]
69-
shell = qmp.QEMUMonitorProtocol(sock)
69+
shell = QEMUMonitorProtocol(sock)
7070
shell.connect()
7171

7272
models = shell.cmd("query-cpu-definitions")

0 commit comments

Comments
 (0)