diff options
author | John Snow <jsnow@redhat.com> | 2015-04-29 15:14:04 -0400 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2015-05-11 08:59:07 -0400 |
commit | 1ceca07e48ead0dd2e41576c81d40e6a91cafefd (patch) | |
tree | da580b938a4dd88e5587e195551aa61b23aece27 /block | |
parent | 30bd6815efbaf5bae70885feac9a35e149e2f1ad (diff) | |
download | qemu-1ceca07e48ead0dd2e41576c81d40e6a91cafefd.zip qemu-1ceca07e48ead0dd2e41576c81d40e6a91cafefd.tar.gz qemu-1ceca07e48ead0dd2e41576c81d40e6a91cafefd.tar.bz2 |
scripts: qmp-shell: Add verbose flag
Add a verbose flag that shows the QMP command that was
constructed, to allow for later copy/pasting, reference,
debugging, etc.
The QMP is converted from a Python literal to JSON first,
to ensure that it is viable input to the actual QMP parser.
As a side-effect, this JSON output will helpfully show all
the necessary conversions that were performed on the input,
illustrating that "True" was transformed back into "true",
literal values are now escaped with "" instead of '', and so on.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Kashyap Chamarthy <kchamart@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions