qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 21/22] qidl: qidl.h, definitions for qidl ann


From: Michael Roth
Subject: Re: [Qemu-devel] [PATCH v3 21/22] qidl: qidl.h, definitions for qidl annotations
Date: Fri, 5 Oct 2012 09:50:08 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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

[Prev in Thread] Current Thread [Next in Thread]