Skip to content

qmp-shell non-interactive mode, delete scripts/qmp/qmp

Eduardo Habkost qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 12 repliesIn review
  2. v15 patches 11 repliesSuperseded

Changes in v2 from the cover letter

* Use optparse module instead of argparse. optparse is deprecated since Python 2.7, but argparse is not available on Python 2.6, the minimum Python version required to build QEMU.
* Reported-by: Stefan Hajnoczi <[email protected]>
* Suggested-by: "Daniel P. Berrange" <[email protected]>

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qmp-shell: Use optparse modulescripts/qmp/qmp-shell+23 -406 replies
2/5qmp-shell: Pass split cmdargs to __build_cmd()scripts/qmp/qmp-shell+4 -50 replies
3/5qmp-shell: execute_cmdargs() methodscripts/qmp/qmp-shell+6 -10 replies
4/5qmp-shell: Accept QMP command as argumentscripts/qmp/qmp-shell+9 -56 replies
5/5Remove scripts/qmp/qmpscripts/qmp/qmp+0 -1260 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchStefan HajnocziJohn Snow
1/5R-b
2/5R-b T-b R-b
3/5R-b T-b R-b
4/5R-b
5/5R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH for-2.11 v2 0/5] qmp-shell non-interactive mode, delete scripts/qmp/qmp

This series adds the ability to run QMP commands non-interactively to qmp-shell, and deletes scripts/qmp/qmp.

Changes v1 -> v2:
* Use optparse module instead of argparse. optparse is deprecated since Python 2.7, but argparse is not available on Python 2.6, the minimum Python version required to build QEMU.
* Reported-by: Stefan Hajnoczi <[email protected]>
* Suggested-by: "Daniel P. Berrange" <[email protected]>

Eduardo Habkost (5):
qmp-shell: Use optparse module
qmp-shell: Pass split cmdargs to __build_cmd()
qmp-shell: execute_cmdargs() method
qmp-shell: Accept QMP command as argument
Remove scripts/qmp/qmp

 scripts/qmp/qmp       | 126 --------------------------------------------------
 scripts/qmp/qmp-shell |  87 ++++++++++++++++------------------
 2 files changed, 39 insertions(+), 174 deletions(-)
 delete mode 100755 scripts/qmp/qmp
Signature · 1 line
2.9.4