void qdev_prop_set_globals_for_type(DeviceState *dev, const char *typename,

                                    Error **errp)

{

    GlobalProperty *prop;



    QTAILQ_FOREACH(prop, &global_props, next) {

        Error *err = NULL;



        if (strcmp(typename, prop->driver) != 0) {

            continue;

        }

        prop->not_used = false;

        object_property_parse(OBJECT(dev), prop->value, prop->property, &err);

        if (err != NULL) {

            error_propagate(errp, err);

            return;

        }

    }

}

void qdev_prop_set_globals_for_type(DeviceState *dev, const char *typename,

                                    Error **errp)

{

    GlobalProperty *prop;



    QTAILQ_FOREACH(prop, &global_props, next) {

        Error *err = NULL;



        if (strcmp(typename, prop->driver) != 0) {

            continue;

        }

        prop->not_used = false;

        object_property_parse(OBJECT(dev), prop->value, prop->property, &err);

        if (err != NULL) {

            error_propagate(errp, err);

            return;

        }

    }

}

void FUNC_0(DeviceState *VAR_0, const char *VAR_1,

                                    Error **VAR_2)

{

    GlobalProperty *prop;



    QTAILQ_FOREACH(prop, &global_props, next) {

        Error *err = NULL;



        if (strcmp(VAR_1, prop->driver) != 0) {

            continue;

        }

        prop->not_used = false;

        object_property_parse(OBJECT(VAR_0), prop->value, prop->property, &err);

        if (err != NULL) {

            error_propagate(VAR_2, err);

            return;

        }

    }

}

void FUNC_0(DeviceState *VAR_0, const char *VAR_1,
Error **VAR_2)
{ GlobalProperty *prop; QTAILQ_FOREACH(prop, &global_props, next) { Error *err = NULL; if (strcmp(VAR_1, prop->driver) != 0) { continue; } prop->not_used = false; object_property_parse(OBJECT(VAR_0), prop->value, prop->property, &err); if (err != NULL) { error_propagate(VAR_2, err); return; } } }