migration: pass in_postcopy instead of check state again
commit17d9351bf2415fb66500575665a22fac15b80d10
authorWei Yang <richardw.yang@linux.intel.com>
Sat, 5 Oct 2019 22:05:16 +0000 (6 06:05 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 11 Oct 2019 13:31:27 +0000 (11 14:31 +0100)
tree982b25fff92476b1f9951a70643992fcb604321e
parentda1725d3f9723668a61a3b83f1bf94ce14fc4e4b
migration: pass in_postcopy instead of check state again

Not necessary to do the check again.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20191005220517.24029-4-richardw.yang@linux.intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/migration.c