diff options
author | Juan Quintela <quintela@redhat.com> | 2023-02-08 14:34:24 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-02-15 20:04:30 +0100 |
commit | abbbd04da2b2bdda5ee7dcbbbc89e03e019ade6b (patch) | |
tree | f00dbb8374dbc883cc54357041fc7a4ca5c523ed /migration | |
parent | 163b8663b87fa1bfc34a171dd19ea435d108fa61 (diff) |
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>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/ram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c index 521912385d..ecf697a58d 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -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; } |