From 305b6f8431f0b612649bffe1fbfde760a5cd9300 Mon Sep 17 00:00:00 2001 From: Wei Yang Date: Thu, 11 Jul 2019 16:08:16 +0800 Subject: 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 Message-Id: <20190711080816.6405-1-richardw.yang@linux.intel.com> Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Dr. David Alan Gilbert --- migration/savevm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'migration') diff --git a/migration/savevm.c b/migration/savevm.c index 69a827a92f..eed5e551da 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; } -- cgit v1.2.3-55-g7522