aboutsummaryrefslogtreecommitdiff
path: root/migration/savevm.c
diff options
context:
space:
mode:
authorWei Yang <richardw.yang@linux.intel.com>2019-07-11 16:08:16 +0800
committerDr. David Alan Gilbert <dgilbert@redhat.com>2019-08-14 17:33:14 +0100
commit305b6f8431f0b612649bffe1fbfde760a5cd9300 (patch)
tree1dc8c26df1c46a0d281ab49de14fd1554729190c /migration/savevm.c
parente326767b455e031a9bd187adfcbaca4362cb9f40 (diff)
downloadqemu-305b6f8431f0b612649bffe1fbfde760a5cd9300.zip
qemu-305b6f8431f0b612649bffe1fbfde760a5cd9300.tar.gz
qemu-305b6f8431f0b612649bffe1fbfde760a5cd9300.tar.bz2
migration/postcopy: PostcopyState is already set in loadvm_postcopy_handle_advise()
PostcopyState is already set to ADVISE at the beginning of loadvm_postcopy_handle_advise(). Remove the redundant set. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190711080816.6405-1-richardw.yang@linux.intel.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/savevm.c')
-rw-r--r--migration/savevm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/migration/savevm.c b/migration/savevm.c
index 69a827a..eed5e55 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -1648,8 +1648,6 @@ static int loadvm_postcopy_handle_advise(MigrationIncomingState *mis,
return -1;
}
- postcopy_state_set(POSTCOPY_INCOMING_ADVISE);
-
return 0;
}