mlx5vf_put_data_buffer(async_data->buf);
                if (async_data->header_buf)
                        mlx5vf_put_data_buffer(async_data->header_buf);
-               if (async_data->status == MLX5_CMD_STAT_BAD_RES_STATE_ERR)
+               if (!async_data->stop_copy_chunk &&
+                   async_data->status == MLX5_CMD_STAT_BAD_RES_STATE_ERR)
                        migf->state = MLX5_MIGF_STATE_PRE_COPY_ERROR;
                else
                        migf->state = MLX5_MIGF_STATE_ERROR;
                size_t image_size;
                unsigned long flags;
                bool initial_pre_copy = migf->state != MLX5_MIGF_STATE_PRE_COPY &&
-                               !async_data->last_chunk;
+                               !async_data->stop_copy_chunk;
 
                image_size = MLX5_GET(save_vhca_state_out, async_data->out,
                                      actual_image_size);
                spin_unlock_irqrestore(&migf->list_lock, flags);
                if (initial_pre_copy)
                        migf->pre_copy_initial_bytes += image_size;
-               migf->state = async_data->last_chunk ?
+               migf->state = async_data->stop_copy_chunk ?
                        MLX5_MIGF_STATE_COMPLETE : MLX5_MIGF_STATE_PRE_COPY;
                wake_up_interruptible(&migf->poll_wait);
                mlx5vf_save_callback_complete(migf, async_data);
 
        async_data = &migf->async_data;
        async_data->buf = buf;
-       async_data->last_chunk = !track;
+       async_data->stop_copy_chunk = !track;
        async_data->out = kvzalloc(out_size, GFP_KERNEL);
        if (!async_data->out) {
                err = -ENOMEM;
        }
 
        if (MLX5VF_PRE_COPY_SUPP(mvdev)) {
-               if (async_data->last_chunk && migf->buf_header) {
+               if (async_data->stop_copy_chunk && migf->buf_header) {
                        header_buf = migf->buf_header;
                        migf->buf_header = NULL;
                } else {
                }
        }
 
-       if (async_data->last_chunk)
-               migf->state = MLX5_MIGF_STATE_SAVE_LAST;
+       if (async_data->stop_copy_chunk)
+               migf->state = MLX5_MIGF_STATE_SAVE_STOP_COPY_CHUNK;
 
        async_data->header_buf = header_buf;
        get_file(migf->filp);
 
        MLX5_MIGF_STATE_ERROR = 1,
        MLX5_MIGF_STATE_PRE_COPY_ERROR,
        MLX5_MIGF_STATE_PRE_COPY,
-       MLX5_MIGF_STATE_SAVE_LAST,
+       MLX5_MIGF_STATE_SAVE_STOP_COPY_CHUNK,
        MLX5_MIGF_STATE_COMPLETE,
 };
 
        struct mlx5_vhca_data_buffer *buf;
        struct mlx5_vhca_data_buffer *header_buf;
        int status;
-       u8 last_chunk:1;
+       u8 stop_copy_chunk:1;
        void *out;
 };