On Fri, 24 Feb 2012 10:44:11 -0600
Anthony Liguori <anth...@codemonkey.ws> wrote:

> > I'm asking because the conversion of events to the qapi is not too far away,
> > but I think that using QOM will somewhat deprecate the code you have in the
> > glib branch (besides having to wait for 1.2)?
> 
> I have some vague ideas about what to do here.  One thought would be to have 
> a 
> standard notifier mechanism in Object that was advertised as a property type. 
> We could then provide an interface via QMP to [un]subscribe to a notifier 
> property.

This seems to be a good match with your previous ideas, implemented in the glib
branch. But then subsystems/devices emitting events will have to be converted
to QOM first...

> I won't get to this until the 1.2 time frame though.  My goals for 1.1 are to 
> get qbus conversions merged and refactor IRQs/MemoryRegions to use QOM.  If 
> time 
> permits, also refactor the PC to better use QOM.
> 
> If someone wants to tackle events in QOM, I'd be happy to provide some 
> suggestions on where to start.

I'd like to hear about it, but I'm not sure when I'll start working on it.

Reply via email to