static void qdev_prop_set(DeviceState *dev, const char *name, void *src, enum PropertyType type)

{

    Property *prop;



    prop = qdev_prop_find(dev, name);

    if (!prop) {

        fprintf(stderr, "%s: property \"%s.%s\" not found\n",

                __FUNCTION__, object_get_typename(OBJECT(dev)), name);

        abort();

    }

    if (prop->info->type != type) {

        fprintf(stderr, "%s: property \"%s.%s\" type mismatch\n",

                __FUNCTION__, object_get_typename(OBJECT(dev)), name);

        abort();

    }

    qdev_prop_cpy(dev, prop, src);

}

static void qdev_prop_set(DeviceState *dev, const char *name, void *src, enum PropertyType type)

{

    Property *prop;



    prop = qdev_prop_find(dev, name);

    if (!prop) {

        fprintf(stderr, "%s: property \"%s.%s\" not found\n",

                __FUNCTION__, object_get_typename(OBJECT(dev)), name);

        abort();

    }

    if (prop->info->type != type) {

        fprintf(stderr, "%s: property \"%s.%s\" type mismatch\n",

                __FUNCTION__, object_get_typename(OBJECT(dev)), name);

        abort();

    }

    qdev_prop_cpy(dev, prop, src);

}

static void FUNC_0(DeviceState *VAR_0, const char *VAR_1, void *VAR_2, enum PropertyType VAR_3)

{

    Property *prop;



    prop = qdev_prop_find(VAR_0, VAR_1);

    if (!prop) {

        fprintf(stderr, "%s: property \"%s.%s\" not found\n",

                __FUNCTION__, object_get_typename(OBJECT(VAR_0)), VAR_1);

        abort();

    }

    if (prop->info->VAR_3 != VAR_3) {

        fprintf(stderr, "%s: property \"%s.%s\" VAR_3 mismatch\n",

                __FUNCTION__, object_get_typename(OBJECT(VAR_0)), VAR_1);

        abort();

    }

    qdev_prop_cpy(VAR_0, prop, VAR_2);

}

static void FUNC_0(DeviceState *VAR_0, const char *VAR_1, void *VAR_2, enum PropertyType VAR_3)
{ Property *prop; prop = qdev_prop_find(VAR_0, VAR_1); if (!prop) { fprintf(stderr, "%s: property \"%s.%s\" not found\n",
__FUNCTION__, object_get_typename(OBJECT(VAR_0)), VAR_1); abort(); } if (prop->info->VAR_3 != VAR_3) { fprintf(stderr, "%s: property \"%s.%s\" VAR_3 mismatch\n",
__FUNCTION__, object_get_typename(OBJECT(VAR_0)), VAR_1); abort(); } qdev_prop_cpy(VAR_0, prop, VAR_2); }