migration: isolate return path on src
commit0425dc976212a38961f0469003074d1df65a61f2
authorPeter Xu <peterx@redhat.com>
Wed, 31 May 2017 10:35:34 +0000 (31 18:35 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 13 Jun 2017 09:00:44 +0000 (13 11:00 +0200)
treeb73328109daa8fd07ccb813c81975534de1ecc7c
parent9bba618f18b1a60a3f2668db82b453f6cd9467c0
migration: isolate return path on src

There are some places that binded "return path" with postcopy. Let's be
prepared for its usage even without postcopy. This patch mainly did this
on source side.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/trace-events