void unregister_savevm(const char *idstr, void *opaque)

{

    SaveStateEntry *se, *new_se;



    TAILQ_FOREACH_SAFE(se, &savevm_handlers, entry, new_se) {

        if (strcmp(se->idstr, idstr) == 0 && se->opaque == opaque) {

            TAILQ_REMOVE(&savevm_handlers, se, entry);

            qemu_free(se);

        }

    }

}

void unregister_savevm(const char *idstr, void *opaque)

{

    SaveStateEntry *se, *new_se;



    TAILQ_FOREACH_SAFE(se, &savevm_handlers, entry, new_se) {

        if (strcmp(se->idstr, idstr) == 0 && se->opaque == opaque) {

            TAILQ_REMOVE(&savevm_handlers, se, entry);

            qemu_free(se);

        }

    }

}

void FUNC_0(const char *VAR_0, void *VAR_1)

{

    SaveStateEntry *se, *new_se;



    TAILQ_FOREACH_SAFE(se, &savevm_handlers, entry, new_se) {

        if (strcmp(se->VAR_0, VAR_0) == 0 && se->VAR_1 == VAR_1) {

            TAILQ_REMOVE(&savevm_handlers, se, entry);

            qemu_free(se);

        }

    }

}

void FUNC_0(const char *VAR_0, void *VAR_1)
{ SaveStateEntry *se, *new_se; TAILQ_FOREACH_SAFE(se, &savevm_handlers, entry, new_se) { if (strcmp(se->VAR_0, VAR_0) == 0 && se->VAR_1 == VAR_1) { TAILQ_REMOVE(&savevm_handlers, se, entry); qemu_free(se); } } }