Re title: I think "deprecated" isn't the right word.  Let's go with
"unused", or maybe

    qdev: PropertyInfo.type and .enum_table are no longer used, drop

Marc-AndrĂ© Lureau <[email protected]> writes:

> Now that all PropertyInfo definitions use .qapi_type, remove the
> legacy .type (string) and .enum_table fields from PropertyInfo, and
> the .arrayinfo/.arrayfieldsize fields from Property.
>
> Remove fallback branches in qdev_property_add_static() and
> qdev_class_add_property() that used object_property_add() with
> prop->info->type: these always use the QAPI-aware registration
> path now. Simplify qdev_propinfo_enum_lookup(), prop_array_info()
> and prop_array_elem_size() to use the new fields directly.
>
> Signed-off-by: Markus Armbruster <[email protected]>
> Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>


Reply via email to