Re: [Qemu-devel] [RFC v2 15/33] migration: pass MigrationState to migrate_init()

2017-09-22 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Let the callers take the object, then pass it to migrate_init(). > > Signed-off-by: Peter Xu Reviewed-by: Dr. David Alan Gilbert > --- > migration/migration.c | 7 ++- > migration/migration.h | 2 +- > migration/savevm.c| 5 - > 3 files chan

[Qemu-devel] [RFC v2 15/33] migration: pass MigrationState to migrate_init()

2017-08-30 Thread Peter Xu
Let the callers take the object, then pass it to migrate_init(). Signed-off-by: Peter Xu --- migration/migration.c | 7 ++- migration/migration.h | 2 +- migration/savevm.c| 5 - 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/migration/migration.c b/migration/migratio