Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Anthony Liguori
On 02/16/2011 08:15 AM, Kevin Wolf wrote: Am 16.02.2011 14:43, schrieb Anthony Liguori: On 02/16/2011 02:50 AM, Kevin Wolf wrote: Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100 Kevin

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Anthony Liguori
On 02/16/2011 08:15 AM, Kevin Wolf wrote: Am 16.02.2011 14:43, schrieb Anthony Liguori: On 02/16/2011 02:50 AM, Kevin Wolf wrote: Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100 Kevin

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Kevin Wolf
Am 16.02.2011 14:43, schrieb Anthony Liguori: > On 02/16/2011 02:50 AM, Kevin Wolf wrote: >> Am 16.02.2011 01:59, schrieb Anthony Liguori: >> >>> On 02/15/2011 07:38 AM, Luiz Capitulino wrote: >>> On Tue, 15 Feb 2011 10:20:01 +0100 Kevin Wolf wrote:

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Anthony Liguori
On 02/16/2011 02:50 AM, Kevin Wolf wrote: Am 16.02.2011 01:59, schrieb Anthony Liguori: On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100 Kevin Wolf wrote: Am 14.02.2011 20:34, schrieb Anthony Liguori: On 02/14/2011 12:34 PM, Lu

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-16 Thread Kevin Wolf
Am 16.02.2011 01:59, schrieb Anthony Liguori: > On 02/15/2011 07:38 AM, Luiz Capitulino wrote: >> On Tue, 15 Feb 2011 10:20:01 +0100 >> Kevin Wolf wrote: >> >> >>> Am 14.02.2011 20:34, schrieb Anthony Liguori: >>> On 02/14/2011 12:34 PM, Luiz Capitulino wrote: > On

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-15 Thread Anthony Liguori
On 02/15/2011 07:38 AM, Luiz Capitulino wrote: On Tue, 15 Feb 2011 10:20:01 +0100 Kevin Wolf wrote: Am 14.02.2011 20:34, schrieb Anthony Liguori: On 02/14/2011 12:34 PM, Luiz Capitulino wrote: On Mon, 14 Feb 2011 08:39:11 -0600 Anthony Liguori wrote: On 02/14

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-15 Thread Markus Armbruster
Luiz Capitulino writes: > On Mon, 14 Feb 2011 13:34:11 -0600 > Anthony Liguori wrote: > >> On 02/14/2011 12:34 PM, Luiz Capitulino wrote: >> > On Mon, 14 Feb 2011 08:39:11 -0600 >> > Anthony Liguori wrote: >> > >> > >> >> On 02/14/2011 06:45 AM, Luiz Capitulino wrote: >> >> >> >>> So

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-15 Thread Luiz Capitulino
On Tue, 15 Feb 2011 10:20:01 +0100 Kevin Wolf wrote: > Am 14.02.2011 20:34, schrieb Anthony Liguori: > > On 02/14/2011 12:34 PM, Luiz Capitulino wrote: > >> On Mon, 14 Feb 2011 08:39:11 -0600 > >> Anthony Liguori wrote: > >> > >> > >>> On 02/14/2011 06:45 AM, Luiz Capitulino wrote: > >>>

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-15 Thread Luiz Capitulino
On Mon, 14 Feb 2011 14:15:27 -0600 Anthony Liguori wrote: > On 02/14/2011 01:58 PM, Luiz Capitulino wrote: > > No, of course not, our plan has always been to do this via an schema, > > the only reason we don't do this today is lack of time/help. > > > > > > Understood--I'm here to help now :

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-15 Thread Kevin Wolf
Am 14.02.2011 20:34, schrieb Anthony Liguori: > On 02/14/2011 12:34 PM, Luiz Capitulino wrote: >> On Mon, 14 Feb 2011 08:39:11 -0600 >> Anthony Liguori wrote: >> >> >>> On 02/14/2011 06:45 AM, Luiz Capitulino wrote: >>> So the question is: how does the schema based design support ex

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Anthony Liguori
On 02/14/2011 06:32 AM, Kevin Wolf wrote: Am 14.02.2011 13:03, schrieb Anthony Liguori: On 02/14/2011 03:50 AM, Kevin Wolf wrote: Am 13.02.2011 19:08, schrieb Anthony Liguori: Proposal for events in QAPI For QAPI, I'd like to model events on the notion of signals and slots[2

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Anthony Liguori
On 02/14/2011 01:58 PM, Luiz Capitulino wrote: No, of course not, our plan has always been to do this via an schema, the only reason we don't do this today is lack of time/help. Understood--I'm here to help now :-) We need to expose the schema, I'm not saying we shouldn't. But we don't

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Luiz Capitulino
On Mon, 14 Feb 2011 17:58:00 -0200 Luiz Capitulino wrote: > On Mon, 14 Feb 2011 13:34:11 -0600 > Anthony Liguori wrote: > > > On 02/14/2011 12:34 PM, Luiz Capitulino wrote: > > > On Mon, 14 Feb 2011 08:39:11 -0600 > > > Anthony Liguori wrote: > > > > > > > > >> On 02/14/2011 06:45 AM, Luiz

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Luiz Capitulino
On Mon, 14 Feb 2011 13:34:11 -0600 Anthony Liguori wrote: > On 02/14/2011 12:34 PM, Luiz Capitulino wrote: > > On Mon, 14 Feb 2011 08:39:11 -0600 > > Anthony Liguori wrote: > > > > > >> On 02/14/2011 06:45 AM, Luiz Capitulino wrote: > >> > >>> So the question is: how does the schema ba

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Anthony Liguori
On 02/14/2011 12:34 PM, Luiz Capitulino wrote: On Mon, 14 Feb 2011 08:39:11 -0600 Anthony Liguori wrote: On 02/14/2011 06:45 AM, Luiz Capitulino wrote: So the question is: how does the schema based design support extending commands or events? Does it require adding new commands/even

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Luiz Capitulino
On Mon, 14 Feb 2011 08:39:11 -0600 Anthony Liguori wrote: > On 02/14/2011 06:45 AM, Luiz Capitulino wrote: > > So the question is: how does the schema based design support extending > > commands or events? Does it require adding new commands/events? > > > > Well, let me ask you, how do we do

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Anthony Liguori
On 02/14/2011 06:45 AM, Luiz Capitulino wrote: So the question is: how does the schema based design support extending commands or events? Does it require adding new commands/events? Well, let me ask you, how do we do that today? Let's say that I want to add a new parameter to the `change'

[Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Anthony Liguori
On 02/14/2011 07:28 AM, Luiz Capitulino wrote: On Sun, 13 Feb 2011 12:08:04 -0600 Anthony Liguori wrote: Hi, In my QAPI branch[1], I've now got almost every existing QMP command converted with (hopefully) all of the hard problems solved. There is only one remaining thing to attack before

[Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Anthony Liguori
On 02/14/2011 07:33 AM, Daniel P. Berrange wrote: On Mon, Feb 14, 2011 at 11:28:52AM -0200, Luiz Capitulino wrote: On Sun, 13 Feb 2011 12:08:04 -0600 Anthony Liguori wrote: Hi, In my QAPI branch[1], I've now got almost every existing QMP command converted with (hopefully) all of th

[Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Daniel P. Berrange
On Mon, Feb 14, 2011 at 11:28:52AM -0200, Luiz Capitulino wrote: > On Sun, 13 Feb 2011 12:08:04 -0600 > Anthony Liguori wrote: > > > Hi, > > > > In my QAPI branch[1], I've now got almost every existing QMP command > > converted with (hopefully) all of the hard problems solved. There is > > on

[Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Luiz Capitulino
On Sun, 13 Feb 2011 12:08:04 -0600 Anthony Liguori wrote: > Hi, > > In my QAPI branch[1], I've now got almost every existing QMP command > converted with (hopefully) all of the hard problems solved. There is > only one remaining thing to attack before posting for inclusion and > that's event

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Luiz Capitulino
On Mon, 14 Feb 2011 13:32:45 +0100 Kevin Wolf wrote: > Am 14.02.2011 13:03, schrieb Anthony Liguori: > > On 02/14/2011 03:50 AM, Kevin Wolf wrote: > >> Am 13.02.2011 19:08, schrieb Anthony Liguori: > >>> Proposal for events in QAPI > >>> > >>> For QAPI, I'd like to model events on the notion of s

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Kevin Wolf
Am 14.02.2011 13:03, schrieb Anthony Liguori: > On 02/14/2011 03:50 AM, Kevin Wolf wrote: >> Am 13.02.2011 19:08, schrieb Anthony Liguori: >>> Proposal for events in QAPI >>> >>> For QAPI, I'd like to model events on the notion of signals and >>> slots[2]. A client would explicitly connect to a si

Re: [Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Anthony Liguori
On 02/14/2011 03:50 AM, Kevin Wolf wrote: Am 13.02.2011 19:08, schrieb Anthony Liguori: Hi, In my QAPI branch[1], I've now got almost every existing QMP command converted with (hopefully) all of the hard problems solved. There is only one remaining thing to attack before posting for inclus

[Qemu-devel] Re: [RFC] qapi: events in QMP

2011-02-14 Thread Kevin Wolf
Am 13.02.2011 19:08, schrieb Anthony Liguori: > Hi, > > In my QAPI branch[1], I've now got almost every existing QMP command > converted with (hopefully) all of the hard problems solved. There is > only one remaining thing to attack before posting for inclusion and > that's events. Here's my