[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 13/25] scripts/cpu-x86-uarch-abi: fix CLI parsing
From: |
John Snow |
Subject: |
[PATCH v2 13/25] scripts/cpu-x86-uarch-abi: fix CLI parsing |
Date: |
Wed, 15 Dec 2021 14:39:27 -0500 |
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/cpu-x86-uarch-abi.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/cpu-x86-uarch-abi.py b/scripts/cpu-x86-uarch-abi.py
index 08acc52a81..8963d90f0b 100644
--- a/scripts/cpu-x86-uarch-abi.py
+++ b/scripts/cpu-x86-uarch-abi.py
@@ -9,7 +9,7 @@
from qemu import qmp
import sys
-if len(sys.argv) != 1:
+if len(sys.argv) != 2:
print("syntax: %s QMP-SOCK\n\n" % __file__ +
"Where QMP-SOCK points to a QEMU process such as\n\n" +
" # qemu-system-x86_64 -qmp unix:/tmp/qmp,server,nowait " +
@@ -66,7 +66,6 @@
sock = sys.argv[1]
-cmd = sys.argv[2]
shell = qmp.QEMUMonitorProtocol(sock)
shell.connect()
--
2.31.1
- Re: [PATCH v2 06/25] python/qemu-ga-client: update instructions to newer CLI syntax, (continued)
- [PATCH v2 08/25] python/qmp: switch qom tools to AQMP, John Snow, 2021/12/15
- [PATCH v2 11/25] python: move qmp-shell under the AQMP package, John Snow, 2021/12/15
- [PATCH v2 09/25] python/qmp: switch qmp-shell to AQMP, John Snow, 2021/12/15
- [PATCH v2 13/25] scripts/cpu-x86-uarch-abi: fix CLI parsing,
John Snow <=
- [PATCH v2 12/25] python/machine: permanently switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 10/25] python: move qmp utilities to python/qemu/utils, John Snow, 2021/12/15
- [PATCH v2 14/25] scripts/cpu-x86-uarch-abi: switch to AQMP, John Snow, 2021/12/15