• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision0665410dcf3d3fa8758545668998dd16d3abbaa9 (tree)
Time2022-01-22 06:01:31
AuthorJohn Snow <jsnow@redh...>
CommiterJohn Snow

Log Message

scripts/cpu-x86-uarch-abi: switch to AQMP

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>

Change Summary

Incremental Difference

--- a/scripts/cpu-x86-uarch-abi.py
+++ b/scripts/cpu-x86-uarch-abi.py
@@ -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 @@ levels = [
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")