void qdev_property_add_legacy(DeviceState *dev, Property *prop,

                              Error **errp)

{

    gchar *type;



    type = g_strdup_printf("legacy<%s>", prop->info->name);



    qdev_property_add(dev, prop->name, type,

                      qdev_get_legacy_property,

                      qdev_set_legacy_property,

                      NULL,

                      prop, errp);



    g_free(type);

}

void qdev_property_add_legacy(DeviceState *dev, Property *prop,

                              Error **errp)

{

    gchar *type;



    type = g_strdup_printf("legacy<%s>", prop->info->name);



    qdev_property_add(dev, prop->name, type,

                      qdev_get_legacy_property,

                      qdev_set_legacy_property,

                      NULL,

                      prop, errp);



    g_free(type);

}

void FUNC_0(DeviceState *VAR_0, Property *VAR_1,

                              Error **VAR_2)

{

    gchar *type;



    type = g_strdup_printf("legacy<%s>", VAR_1->info->name);



    qdev_property_add(VAR_0, VAR_1->name, type,

                      qdev_get_legacy_property,

                      qdev_set_legacy_property,

                      NULL,

                      VAR_1, VAR_2);



    g_free(type);

}

void FUNC_0(DeviceState *VAR_0, Property *VAR_1,
Error **VAR_2)
{ gchar *type; type = g_strdup_printf("legacy<%s>", VAR_1->info->name); qdev_property_add(VAR_0, VAR_1->name, type,
qdev_get_legacy_property,
qdev_set_legacy_property,
NULL,
VAR_1, VAR_2); g_free(type); }