Bläddra i källkod

migration: In case of postcopy, the memory ends in res_postcopy_only

So remove last assignation of res_compatible.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Juan Quintela 2 år sedan
förälder
incheckning
abbbd04da2
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      migration/ram.c

+ 1 - 1
migration/ram.c

@@ -3528,7 +3528,7 @@ static void ram_state_pending_exact(void *opaque,
 
 
     if (migrate_postcopy_ram()) {
     if (migrate_postcopy_ram()) {
         /* We can do postcopy, and all the data is postcopiable */
         /* We can do postcopy, and all the data is postcopiable */
-        *res_compatible += remaining_size;
+        *res_postcopy_only += remaining_size;
     } else {
     } else {
         *res_precopy_only += remaining_size;
         *res_precopy_only += remaining_size;
     }
     }