static int blk_mig_save_dirty_block(Monitor *mon, QEMUFile *f, int is_async)

{

    BlkMigDevState *bmds;

    int ret = 0;



    QSIMPLEQ_FOREACH(bmds, &block_mig_state.bmds_list, entry) {

        if (mig_save_device_dirty(mon, f, bmds, is_async) == 0) {

            ret = 1;

            break;

        }

    }



    return ret;

}

static int blk_mig_save_dirty_block(Monitor *mon, QEMUFile *f, int is_async)

{

    BlkMigDevState *bmds;

    int ret = 0;



    QSIMPLEQ_FOREACH(bmds, &block_mig_state.bmds_list, entry) {

        if (mig_save_device_dirty(mon, f, bmds, is_async) == 0) {

            ret = 1;

            break;

        }

    }



    return ret;

}

static int FUNC_0(Monitor *VAR_0, QEMUFile *VAR_1, int VAR_2)

{

    BlkMigDevState *bmds;

    int VAR_3 = 0;



    QSIMPLEQ_FOREACH(bmds, &block_mig_state.bmds_list, entry) {

        if (mig_save_device_dirty(VAR_0, VAR_1, bmds, VAR_2) == 0) {

            VAR_3 = 1;

            break;

        }

    }



    return VAR_3;

}

static int FUNC_0(Monitor *VAR_0, QEMUFile *VAR_1, int VAR_2)
{ BlkMigDevState *bmds; int VAR_3 = 0; QSIMPLEQ_FOREACH(bmds, &block_mig_state.bmds_list, entry) { if (mig_save_device_dirty(VAR_0, VAR_1, bmds, VAR_2) == 0) { VAR_3 = 1; break; } } return VAR_3; }