+20
−11
Loading
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>