Re: [Qemu-devel] [PATCH] Add 'query-events' command to QMP to query async events

2012-05-16 Thread Luiz Capitulino
On Wed, 16 May 2012 11:18:22 -0500 Anthony Liguori wrote: > On 05/16/2012 11:04 AM, Eric Blake wrote: > > On 05/16/2012 06:55 AM, Daniel P. Berrange wrote: > >> From: "Daniel P. Berrange" > >> > >> Sometimes it is neccessary for an application to determine > >> whether a particular QMP event is a

Re: [Qemu-devel] [PATCH] Add 'query-events' command to QMP to query async events

2012-05-16 Thread Daniel P. Berrange
On Wed, May 16, 2012 at 11:18:22AM -0500, Anthony Liguori wrote: > On 05/16/2012 11:04 AM, Eric Blake wrote: > >On 05/16/2012 06:55 AM, Daniel P. Berrange wrote: > >>From: "Daniel P. Berrange" > >> > >>Sometimes it is neccessary for an application to determine > >>whether a particular QMP event is

Re: [Qemu-devel] [PATCH] Add 'query-events' command to QMP to query async events

2012-05-16 Thread Anthony Liguori
On 05/16/2012 11:04 AM, Eric Blake wrote: On 05/16/2012 06:55 AM, Daniel P. Berrange wrote: From: "Daniel P. Berrange" Sometimes it is neccessary for an application to determine whether a particular QMP event is available, so they can decide whether to use compatibility code instead. This intro

Re: [Qemu-devel] [PATCH] Add 'query-events' command to QMP to query async events

2012-05-16 Thread Eric Blake
On 05/16/2012 06:55 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Sometimes it is neccessary for an application to determine > whether a particular QMP event is available, so they can > decide whether to use compatibility code instead. This > introduces a new 'query-events' comma

[Qemu-devel] [PATCH] Add 'query-events' command to QMP to query async events

2012-05-16 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Sometimes it is neccessary for an application to determine whether a particular QMP event is available, so they can decide whether to use compatibility code instead. This introduces a new 'query-events' command to QMP todo just that { "execute": "query-events" } {"re