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>
This commit is contained in:
parent
163b8663b8
commit
abbbd04da2
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user