mirror of
https://github.com/mborgerson/xemu.git
synced 2026-03-05 18:54:46 +00:00
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:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user