diff options
| author | Marc-André Lureau | 2018-03-26 17:08:40 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2018-08-15 07:24:22 +0200 |
| commit | fcfab7541020d835daab3f7143da321cf1def926 (patch) | |
| tree | 312ecc1b13fe1ad22fecbf6365ff8626c63e7229 /scripts/qapi | |
| parent | Update version for v3.0.0 release (diff) | |
| download | qemu-fcfab7541020d835daab3f7143da321cf1def926.tar.gz qemu-fcfab7541020d835daab3f7143da321cf1def926.tar.xz qemu-fcfab7541020d835daab3f7143da321cf1def926.zip | |
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>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions
