void machine_register_compat_props(MachineState *machine)

{

    MachineClass *mc = MACHINE_GET_CLASS(machine);

    int i;

    GlobalProperty *p;



    if (!mc->compat_props) {

        return;

    }



    for (i = 0; i < mc->compat_props->len; i++) {

        p = g_array_index(mc->compat_props, GlobalProperty *, i);

        /* Machine compat_props must never cause errors: */

        p->errp = &error_abort;

        qdev_prop_register_global(p);

    }

}

void machine_register_compat_props(MachineState *machine)

{

    MachineClass *mc = MACHINE_GET_CLASS(machine);

    int i;

    GlobalProperty *p;



    if (!mc->compat_props) {

        return;

    }



    for (i = 0; i < mc->compat_props->len; i++) {

        p = g_array_index(mc->compat_props, GlobalProperty *, i);

        

        p->errp = &error_abort;

        qdev_prop_register_global(p);

    }

}

void FUNC_0(MachineState *VAR_0)

{

    MachineClass *mc = MACHINE_GET_CLASS(VAR_0);

    int VAR_1;

    GlobalProperty *p;



    if (!mc->compat_props) {

        return;

    }



    for (VAR_1 = 0; VAR_1 < mc->compat_props->len; VAR_1++) {

        p = g_array_index(mc->compat_props, GlobalProperty *, VAR_1);

        

        p->errp = &error_abort;

        qdev_prop_register_global(p);

    }

}

void FUNC_0(MachineState *VAR_0)
{ MachineClass *mc = MACHINE_GET_CLASS(VAR_0); int VAR_1; GlobalProperty *p; if (!mc->compat_props) { return; } for (VAR_1 = 0; VAR_1 < mc->compat_props->len; VAR_1++) { p = g_array_index(mc->compat_props, GlobalProperty *, VAR_1); p->errp = &error_abort; qdev_prop_register_global(p); } }