Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-02-11 Thread Fam Zheng
On Tue, 02/11 09:43, Markus Armbruster wrote: > Fam Zheng writes: > > > On Wed, 01/29 12:17, Stefan Hajnoczi wrote: > >> qmp-shell hides the QMP wire protocol JSON encoding from the user. Most > >> of the time this is helpful and makes the command-line human-friendly. > >> > >> Some QMP command

Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-02-11 Thread Fam Zheng
On Tue, 02/11 09:41, Kevin Wolf wrote: > Am 11.02.2014 um 02:39 hat Fam Zheng geschrieben: > > On Wed, 01/29 12:17, Stefan Hajnoczi wrote: > > > qmp-shell hides the QMP wire protocol JSON encoding from the user. Most > > > of the time this is helpful and makes the command-line human-friendly. > >

Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-02-11 Thread Markus Armbruster
Fam Zheng writes: > On Wed, 01/29 12:17, Stefan Hajnoczi wrote: >> qmp-shell hides the QMP wire protocol JSON encoding from the user. Most >> of the time this is helpful and makes the command-line human-friendly. >> >> Some QMP commands take a dict as an argument. In order to express this >> w

Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-02-11 Thread Kevin Wolf
Am 11.02.2014 um 02:39 hat Fam Zheng geschrieben: > On Wed, 01/29 12:17, Stefan Hajnoczi wrote: > > qmp-shell hides the QMP wire protocol JSON encoding from the user. Most > > of the time this is helpful and makes the command-line human-friendly. > > > > Some QMP commands take a dict as an argume

Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-02-10 Thread Fam Zheng
On Wed, 01/29 12:17, Stefan Hajnoczi wrote: > qmp-shell hides the QMP wire protocol JSON encoding from the user. Most > of the time this is helpful and makes the command-line human-friendly. > > Some QMP commands take a dict as an argument. In order to express this > we need to revert back to JS

Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-02-10 Thread Luiz Capitulino
On Wed, 29 Jan 2014 12:17:31 +0100 Stefan Hajnoczi wrote: > qmp-shell hides the QMP wire protocol JSON encoding from the user. Most > of the time this is helpful and makes the command-line human-friendly. > > Some QMP commands take a dict as an argument. In order to express this > we need to r

Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-01-29 Thread Benoît Canet
Le Wednesday 29 Jan 2014 à 12:17:31 (+0100), Stefan Hajnoczi a écrit : > qmp-shell hides the QMP wire protocol JSON encoding from the user. Most > of the time this is helpful and makes the command-line human-friendly. > > Some QMP commands take a dict as an argument. In order to express this > w

Re: [Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-01-29 Thread Eric Blake
On 01/29/2014 04:17 AM, Stefan Hajnoczi wrote: > qmp-shell hides the QMP wire protocol JSON encoding from the user. Most > of the time this is helpful and makes the command-line human-friendly. > > Some QMP commands take a dict as an argument. In order to express this > we need to revert back to

[Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-01-29 Thread Stefan Hajnoczi
qmp-shell hides the QMP wire protocol JSON encoding from the user. Most of the time this is helpful and makes the command-line human-friendly. Some QMP commands take a dict as an argument. In order to express this we need to revert back to JSON notation. This patch allows JSON dict arguments in