Re: [Qemu-devel] [PATCH 06/11] migration: introduce vm_down_start_time

2018-01-03 Thread Peter Xu
On Wed, Jan 03, 2018 at 10:10:21AM +0100, Juan Quintela wrote: > Peter Xu wrote: > > Introduce MigrationState.vm_down_start_time to replace the local > > variable "start_time" in migration_thread to avoid passing things around. > > > > Signed-off-by: Peter Xu > > Reviewed-by: Juan Quintela > >

Re: [Qemu-devel] [PATCH 06/11] migration: introduce vm_down_start_time

2018-01-03 Thread Juan Quintela
Peter Xu wrote: > Introduce MigrationState.vm_down_start_time to replace the local > variable "start_time" in migration_thread to avoid passing things around. > > Signed-off-by: Peter Xu Reviewed-by: Juan Quintela But I would suggest renaming the variable? Later, Juan. > diff --git a/migrat

[Qemu-devel] [PATCH 06/11] migration: introduce vm_down_start_time

2018-01-02 Thread Peter Xu
Introduce MigrationState.vm_down_start_time to replace the local variable "start_time" in migration_thread to avoid passing things around. Signed-off-by: Peter Xu --- migration/migration.c | 12 migration/migration.h | 2 ++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --