• 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

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

Log Message

scripts/cpu-x86-uarch-abi: fix CLI parsing

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

Change Summary

Incremental Difference

--- a/scripts/cpu-x86-uarch-abi.py
+++ b/scripts/cpu-x86-uarch-abi.py
@@ -9,7 +9,7 @@
99 from qemu import qmp
1010 import sys
1111
12-if len(sys.argv) != 1:
12+if len(sys.argv) != 2:
1313 print("syntax: %s QMP-SOCK\n\n" % __file__ +
1414 "Where QMP-SOCK points to a QEMU process such as\n\n" +
1515 " # qemu-system-x86_64 -qmp unix:/tmp/qmp,server,nowait " +
@@ -66,7 +66,6 @@ levels = [
6666
6767
6868 sock = sys.argv[1]
69-cmd = sys.argv[2]
7069 shell = qmp.QEMUMonitorProtocol(sock)
7170 shell.connect()
7271