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 <stefa...@gmail.com> * Suggested-by: "Daniel P. Berrange" <berra...@redhat.com> 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 -- 2.9.4