migration: shut src return path unconditionally
commit660819b1df9f79cb8d3bb99c590476f131858e75
authorPeter Xu <peterx@redhat.com>
Fri, 19 May 2017 06:43:30 +0000 (19 14:43 +0800)
committerJuan Quintela <quintela@redhat.com>
Thu, 1 Jun 2017 16:49:12 +0000 (1 18:49 +0200)
tree189665725d628290f4042bb69876ecab2a72d016
parent3482655bbc21d158ed0daaa294c890997238cc23
migration: shut src return path unconditionally

We were do the shutting off only for postcopy. Now we do this as long as
the source return path is there.

Moving the cleanup of from_src_file there too.

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/postcopy-ram.c