[Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-16 Thread Luiz Capitulino
This command allows QMP clients to execute HMP commands. Please, check the documentation added to the qmp-commands.hx file for additional details about the interface and its limitations. Signed-off-by: Luiz Capitulino --- monitor.c | 38 ++ qmp-comman

[Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Luiz Capitulino
This command allows QMP clients to execute HMP commands. Please, check the documentation added to the qmp-commands.hx file for additional details about the interface and its limitations. Signed-off-by: Luiz Capitulino --- monitor.c | 38 ++ qmp-comman

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Markus Armbruster
Luiz Capitulino writes: > On Thu, 11 Nov 2010 16:47:41 +0100 > Markus Armbruster wrote: > >> Luiz Capitulino writes: >> >> > On Wed, 10 Nov 2010 14:20:12 +0100 >> > Markus Armbruster wrote: >> > >> >> Luiz Capitulino writes: >> [...] >> >> > diff --git a/qmp-commands.hx b/qmp-commands.hx >>

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Luiz Capitulino
On Thu, 11 Nov 2010 16:47:52 +0100 Markus Armbruster wrote: > Luiz Capitulino writes: > > > This command allows QMP clients to execute HMP commands. > > > > Please, check the documentation added to the qmp-commands.hx file > > for additional details about the interface and its limitations. > >

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Anthony Liguori
On 11/11/2010 10:39 AM, Daniel P. Berrange wrote: IIUC, the FDs sent/received via struct cmsghdr are in a strictly ordered array, so why not just define a placeholder syntax for the commands that maps to the array indexes. eg netdev_add tap,fd=$0,vhost_fd=$1,id=hostnet0 The '$' sign is not v

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Anthony Liguori
On 11/11/2010 10:55 AM, Luiz Capitulino wrote: On Thu, 11 Nov 2010 16:47:41 +0100 Markus Armbruster wrote: Luiz Capitulino writes: On Wed, 10 Nov 2010 14:20:12 +0100 Markus Armbruster wrote: Luiz Capitulino writes: [...] diff --git a/qmp-commands.hx b

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Luiz Capitulino
On Thu, 11 Nov 2010 16:47:41 +0100 Markus Armbruster wrote: > Luiz Capitulino writes: > > > On Wed, 10 Nov 2010 14:20:12 +0100 > > Markus Armbruster wrote: > > > >> Luiz Capitulino writes: > [...] > >> > diff --git a/qmp-commands.hx b/qmp-commands.hx > >> > index 793cf1c..b344096 100644 > >>

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Luiz Capitulino
On Thu, 11 Nov 2010 16:39:52 + "Daniel P. Berrange" wrote: > On Thu, Nov 11, 2010 at 10:30:47AM -0600, Anthony Liguori wrote: > > On 11/11/2010 09:55 AM, Daniel P. Berrange wrote: > > >On Thu, Nov 11, 2010 at 04:47:41PM +0100, Markus Armbruster wrote: > > > 3. Query Commands > > > =

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Daniel P. Berrange
On Thu, Nov 11, 2010 at 10:30:47AM -0600, Anthony Liguori wrote: > On 11/11/2010 09:55 AM, Daniel P. Berrange wrote: > >On Thu, Nov 11, 2010 at 04:47:41PM +0100, Markus Armbruster wrote: > > 3. Query Commands > > = > > > In the real human monitor, cpu-in

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Anthony Liguori
On 11/11/2010 09:55 AM, Daniel P. Berrange wrote: On Thu, Nov 11, 2010 at 04:47:41PM +0100, Markus Armbruster wrote: Luiz Capitulino writes: On Wed, 10 Nov 2010 14:20:12 +0100 Markus Armbruster wrote: Luiz Capitulino writes: [...] diff --git a/qmp-comma

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Daniel P. Berrange
On Thu, Nov 11, 2010 at 04:47:41PM +0100, Markus Armbruster wrote: > Luiz Capitulino writes: > > > On Wed, 10 Nov 2010 14:20:12 +0100 > > Markus Armbruster wrote: > > > >> Luiz Capitulino writes: > [...] > >> > diff --git a/qmp-commands.hx b/qmp-commands.hx > >> > index 793cf1c..b344096 100644

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Markus Armbruster
Luiz Capitulino writes: > This command allows QMP clients to execute HMP commands. > > Please, check the documentation added to the qmp-commands.hx file > for additional details about the interface and its limitations. > > Signed-off-by: Luiz Capitulino > --- > monitor.c | 39 ++

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-11 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 10 Nov 2010 14:20:12 +0100 > Markus Armbruster wrote: > >> Luiz Capitulino writes: [...] >> > diff --git a/qmp-commands.hx b/qmp-commands.hx >> > index 793cf1c..b344096 100644 >> > --- a/qmp-commands.hx >> > +++ b/qmp-commands.hx >> > @@ -761,6 +761,51 @@ Examp

[Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-10 Thread Luiz Capitulino
This command allows QMP clients to execute HMP commands. Please, check the documentation added to the qmp-commands.hx file for additional details about the interface and its limitations. Signed-off-by: Luiz Capitulino --- monitor.c | 39 +++ qmp-comma

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-10 Thread Luiz Capitulino
On Wed, 10 Nov 2010 14:20:12 +0100 Markus Armbruster wrote: > Luiz Capitulino writes: > > > This command allows QMP clients to execute HMP commands. > > > > Please, check the documentation added to the qmp-commands.hx file > > for additional details about the interface and its limitations. > >

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-10 Thread Markus Armbruster
Luiz Capitulino writes: > This command allows QMP clients to execute HMP commands. > > Please, check the documentation added to the qmp-commands.hx file > for additional details about the interface and its limitations. > > Signed-off-by: Luiz Capitulino > --- > monitor.c | 42 ++

[Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-10-29 Thread Luiz Capitulino
This command allows QMP clients to execute HMP commands. Please, check the documentation added to the qmp-commands.hx file for additional details about the interface and its limitations. Signed-off-by: Luiz Capitulino --- monitor.c | 42 ++ qmp-co