]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: init dst in migration_object_init too
authorPeter Xu <peterx@redhat.com>
Wed, 2 May 2018 10:47:35 +0000 (18:47 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 15 May 2018 18:57:01 +0000 (20:57 +0200)
commite1b1b1bc367a1997373c10a58db4adb428daf54e
tree9538f447fdf361e31b12d1bad0e0c2d0a7a9885b
parent9419069695a534b1c8051e8ba8f3b4b3d21e4520
migration: init dst in migration_object_init too

Though we may not need it, now we init both the src/dst migration
objects in migration_object_init() so that even incoming migration
object would be thread safe (it was not).

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180502104740.12123-20-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c