On 1 May 2012 21:48, Anthony Liguori <aligu...@us.ibm.com> wrote:
> Legacy properties != static properties.
> qdev_add_properties adds both legacy and static properties. I'm happy to
> put static properties into object but not legacy properties.
So, er, how are you defining legacy and static properties?
I would have thought 'legacy property' was 'anything we happen
to already have'...
> Base classes are free to call object_property_add_static directly and avoid
> qdev_add_properties entirely but we need the later for backwards compat.
If qdev_add_properties is purely for back-compat it should be
clearly labelled so we don't use it in new code.