qemu-e2k/scripts/qmp
Marc-André Lureau fcfab75410 qmp-shell: learn to send commands with quoted arguments
Use shlex to split the CLI command, respecting quoted arguments, and
also comments. This allows to call for ex:

(QEMU) human-monitor-command command-line="screendump /dev/null"
{"execute": "human-monitor-command", "arguments": {"command-line": "screendump /dev/null"}}

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180326150916.9602-3-marcandre.lureau@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-08-15 07:24:22 +02:00
..
__init__.py scripts: add __init__.py file to scripts/qmp/ 2016-07-22 13:23:13 +05:30
qemu-ga-client Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00
qmp Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00
qmp-shell qmp-shell: learn to send commands with quoted arguments 2018-08-15 07:24:22 +02:00
qmp.py qmp.py: Encode json data before sending 2018-03-12 19:10:16 -03:00
qom-fuse Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00
qom-get Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00
qom-list Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00
qom-set Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00
qom-tree Partially revert "python: futurize -f libfuturize.fixes.fix_absolute_import" 2018-06-22 15:45:42 -03:00