On Fri, Oct 05, 2012 at 10:14:09AM +0200, Paolo Bonzini wrote:
> Il 04/10/2012 19:33, Michael Roth ha scritto:
> > +#define QIDL_SCHEMA_ADD_LINK(name, obj, path, errp) \
> > +    g_assert(qidl_data_##name.schema_obj); \
> > +    object_property_add_link(obj, path, "container", \
> 
> Why "container" as the type?

I needed a path in the QOM tree where I can stick the json schema
property, so I just used a "container" object, which is what this link
points to. Don't have any plans on using the object for anything beyond
that atm, so didn't really make sense to me to define a new object type.

> 
> Paolo
> 
> > +                             &qidl_data_##name.schema_obj, errp)
> > +
> 
> 

Reply via email to