Re: [Qemu-devel] [PATCH v4 4/4] scripts: qmp-shell: Add verbose flag

2015-04-29 Thread Eric Blake
On 04/29/2015 01:14 PM, John Snow wrote: > 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.

[Qemu-devel] [PATCH v4 4/4] scripts: qmp-shell: Add verbose flag

2015-04-29 Thread John Snow
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 s