mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06: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:
parent
163b8663b8
commit
abbbd04da2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue