void qdev_prop_set_defaults(DeviceState *dev, Property *props)

{

    if (!props)

        return;

    while (props->name) {

        if (props->defval) {

            qdev_prop_cpy(dev, props, props->defval);

        }

        props++;

    }

}

void qdev_prop_set_defaults(DeviceState *dev, Property *props)

{

    if (!props)

        return;

    while (props->name) {

        if (props->defval) {

            qdev_prop_cpy(dev, props, props->defval);

        }

        props++;

    }

}

void FUNC_0(DeviceState *VAR_0, Property *VAR_1)

{

    if (!VAR_1)

        return;

    while (VAR_1->name) {

        if (VAR_1->defval) {

            qdev_prop_cpy(VAR_0, VAR_1, VAR_1->defval);

        }

        VAR_1++;

    }

}

void FUNC_0(DeviceState *VAR_0, Property *VAR_1)
{ if (!VAR_1)
return; while (VAR_1->name) { if (VAR_1->defval) { qdev_prop_cpy(VAR_0, VAR_1, VAR_1->defval); } VAR_1++; } }