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>
master
Juan Quintela 2023-02-08 14:34:24 +01:00
parent 163b8663b8
commit abbbd04da2
1 changed files with 1 additions and 1 deletions

View File

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