int qemu_register_machine(QEMUMachine *m)

{

    char *name = g_strconcat(m->name, TYPE_MACHINE_SUFFIX, NULL);

    TypeInfo ti = {

        .name       = name,

        .parent     = TYPE_MACHINE,

        .class_init = machine_class_init,

        .class_data = (void *)m,

    };



    type_register(&ti);

    g_free(name);



    return 0;

}

int qemu_register_machine(QEMUMachine *m)

{

    char *name = g_strconcat(m->name, TYPE_MACHINE_SUFFIX, NULL);

    TypeInfo ti = {

        .name       = name,

        .parent     = TYPE_MACHINE,

        .class_init = machine_class_init,

        .class_data = (void *)m,

    };



    type_register(&ti);

    g_free(name);



    return 0;

}

int FUNC_0(QEMUMachine *VAR_0)

{

    char *VAR_1 = g_strconcat(VAR_0->VAR_1, TYPE_MACHINE_SUFFIX, NULL);

    TypeInfo ti = {

        .VAR_1       = VAR_1,

        .parent     = TYPE_MACHINE,

        .class_init = machine_class_init,

        .class_data = (void *)VAR_0,

    };



    type_register(&ti);

    g_free(VAR_1);



    return 0;

}

int FUNC_0(QEMUMachine *VAR_0)
{ char *VAR_1 = g_strconcat(VAR_0->VAR_1, TYPE_MACHINE_SUFFIX, NULL); TypeInfo ti = { .VAR_1       = VAR_1,
.parent     = TYPE_MACHINE,
.class_init = machine_class_init,
.class_data = (void *)VAR_0,
}; type_register(&ti); g_free(VAR_1); return 0; }