On Tue, Sep 30, 2014 at 03:36:22PM +0200, Paolo Bonzini wrote:
> Il 30/09/2014 15:33, Michael S. Tsirkin ha scritto:
> > > > 
> > > The Propertyinfo.name is used to the qdev property's type, please see 
> > > PATCH 4:
> > > 
> > > -            info->type = g_strdup(prop->info->legacy_name ?: 
> > > prop->info->name);
> > > +            info->type = g_strdup(prop->info->name);
> > 
> > I would say this one is more a string than an int.
> 
> At the QOM level it is an int, even though it secondarily accepts a
> string in "DD.F" format.
> 
> Paolo

That's the only way to specify a function, isn't it?
Maybe it's not a good idea to expose the QOM type in this case.

-- 
MST

Reply via email to