void qdev_init_nofail(DeviceState *dev)

{

    Error *err = NULL;



    assert(!dev->realized);




    object_property_set_bool(OBJECT(dev), true, "realized", &err);

    if (err) {

        error_reportf_err(err, "Initialization of device %s failed: ",

                          object_get_typename(OBJECT(dev)));

        exit(1);

    }


}
void qdev_init_nofail(DeviceState *dev)

{

    Error *err = NULL;



    assert(!dev->realized);




    object_property_set_bool(OBJECT(dev), true, "realized", &err);

    if (err) {

        error_reportf_err(err, "Initialization of device %s failed: ",

                          object_get_typename(OBJECT(dev)));

        exit(1);

    }


}
void FUNC_0(DeviceState *VAR_0)

{

    Error *err = NULL;



    assert(!VAR_0->realized);




    object_property_set_bool(OBJECT(VAR_0), true, "realized", &err);

    if (err) {

        error_reportf_err(err, "Initialization of device %s failed: ",

                          object_get_typename(OBJECT(VAR_0)));

        exit(1);

    }


}
void FUNC_0(DeviceState *VAR_0)
{ Error *err = NULL; assert(!VAR_0->realized); object_property_set_bool(OBJECT(VAR_0), true, "realized", &err); if (err) { error_reportf_err(err, "Initialization of device %s failed: ",
object_get_typename(OBJECT(VAR_0))); exit(1); } }