void vmstate_unregister(DeviceState *dev, const VMStateDescription *vmsd,

                        void *opaque)

{

    SaveStateEntry *se, *new_se;



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

        if (se->vmsd == vmsd && se->opaque == opaque) {

            QTAILQ_REMOVE(&savevm_handlers, se, entry);




            qemu_free(se);



void vmstate_unregister(DeviceState *dev, const VMStateDescription *vmsd,

                        void *opaque)

{

    SaveStateEntry *se, *new_se;



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

        if (se->vmsd == vmsd && se->opaque == opaque) {

            QTAILQ_REMOVE(&savevm_handlers, se, entry);




            qemu_free(se);



void FUNC_0(DeviceState *VAR_0, const VMStateDescription *VAR_1,

                        void *VAR_2)

{

    SaveStateEntry *se, *new_se;



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

        if (se->VAR_1 == VAR_1 && se->VAR_2 == VAR_2) {

            QTAILQ_REMOVE(&savevm_handlers, se, entry);




            qemu_free(se);



void FUNC_0(DeviceState *VAR_0, const VMStateDescription *VAR_1,
void *VAR_2)
{ SaveStateEntry *se, *new_se; QTAILQ_FOREACH_SAFE(se, &savevm_handlers, entry, new_se) { if (se->VAR_1 == VAR_1 && se->VAR_2 == VAR_2) { QTAILQ_REMOVE(&savevm_handlers, se, entry); qemu_free(se);