[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/5] migration: In case of postcopy, the memory ends in res_postco
From: |
Juan Quintela |
Subject: |
[PULL 3/5] migration: In case of postcopy, the memory ends in res_postcopy_only |
Date: |
Wed, 15 Feb 2023 21:05:52 +0100 |
So remove last assignation of res_compatible.
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
migration/ram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.39.1
- [PULL 0/5] Migration 20230215 patches, Juan Quintela, 2023/02/15
- [PULL 1/5] migration/qemu-file: Add qemu_file_get_to_fd(), Juan Quintela, 2023/02/15
- [PULL 2/5] migration/block: Convert remaining DPRINTF() debug macro to trace events, Juan Quintela, 2023/02/15
- [PULL 3/5] migration: In case of postcopy, the memory ends in res_postcopy_only,
Juan Quintela <=
- [PULL 4/5] migration: Remove unused res_compatible, Juan Quintela, 2023/02/15
- [PULL 5/5] migration: Rename res_{postcopy,precopy}_only, Juan Quintela, 2023/02/15
- Re: [PULL 0/5] Migration 20230215 patches, Peter Maydell, 2023/02/16