]> Git Repo - qemu.git/commitdiff
migration/postcopy: PostcopyState is already set in loadvm_postcopy_handle_advise()
authorWei Yang <[email protected]>
Thu, 11 Jul 2019 08:08:16 +0000 (16:08 +0800)
committerDr. David Alan Gilbert <[email protected]>
Wed, 14 Aug 2019 16:33:14 +0000 (17:33 +0100)
PostcopyState is already set to ADVISE at the beginning of
loadvm_postcopy_handle_advise().

Remove the redundant set.

Signed-off-by: Wei Yang <[email protected]>
Message-Id: <20190711080816[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
migration/savevm.c

index 69a827a92fdb6b78319c238ee64031146f7b30aa..eed5e551da863c2486b9d14d707612e5b28a3317 100644 (file)
@@ -1648,8 +1648,6 @@ static int loadvm_postcopy_handle_advise(MigrationIncomingState *mis,
         return -1;
     }
 
-    postcopy_state_set(POSTCOPY_INCOMING_ADVISE);
-
     return 0;
 }
 
This page took 0.027546 seconds and 4 git commands to generate.