migration: introduce migrate_calculate_complete
Generalize the calculation part when migration complete into a function to simplify migration_thread(). Signed-off-by:Peter Xu <peterx@redhat.com> Reviewed-by:
Juan Quintela <quintela@redhat.com> Signed-off-by:
Juan Quintela <quintela@redhat.com>
Loading
Please register or sign in to comment