On 08/04/2017 05:36 PM, Eduardo Habkost wrote: > This series adds the ability to run QMP commands > non-interactively to qmp-shell, and deletes scripts/qmp/qmp. > > Eduardo Habkost (5): > qmp-shell: Use argparse 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 | 90 ++++++++++++++++-------------------- > 2 files changed, 40 insertions(+), 176 deletions(-) > delete mode 100755 scripts/qmp/qmp >
Assuming there are no reasons to keep the old script around (I certainly never used it) this appears to be fine. May as well fortify one really good QMP tool instead of a dozen little half baked ones. Tested-by: John Snow <js...@redhat.com> Reviewed-by: John Snow <js...@redhat.com>