Re: [Qemu-devel] [PATCH 07/11] migration: introduce migrate_calculate_complete

2018-01-03 Thread Peter Xu
On Wed, Jan 03, 2018 at 10:12:10AM +0100, Juan Quintela wrote: > Peter Xu wrote: > > Generalize the calculation part when migration complete into a > > function to simplify migration_thread(). > > > > Signed-off-by: Peter Xu > > > > > --- > > migration/migration.c | 25 ++-

Re: [Qemu-devel] [PATCH 07/11] migration: introduce migrate_calculate_complete

2018-01-03 Thread Juan Quintela
Peter Xu wrote: > Generalize the calculation part when migration complete into a > function to simplify migration_thread(). > > Signed-off-by: Peter Xu > --- > migration/migration.c | 25 ++--- > 1 file changed, 14 insertions(+), 11 deletions(-) > > diff --git a/migration/

[Qemu-devel] [PATCH 07/11] migration: introduce migrate_calculate_complete

2018-01-02 Thread Peter Xu
Generalize the calculation part when migration complete into a function to simplify migration_thread(). Signed-off-by: Peter Xu --- migration/migration.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/migration/migration.c b/migration/migration.c