diff options
author | Juan Quintela <quintela@redhat.com> | 2022-06-21 13:36:11 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-27 16:37:28 +0200 |
commit | 294e5a4034e81b3d8db03b4e0f691386f20d6ed3 (patch) | |
tree | ccec176a73a3d282ff3cb459dac5a59f40f456e9 /migration/migration.h | |
parent | b05292c237030343516d073b1a1e5f49ffc017a8 (diff) |
multifd: Only flush once each full round of memory
We need to add a new flag to mean to flush at that point.
Notice that we still flush at the end of setup and at the end of
complete stages.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
---
Add missing qemu_fflush(), now it passes all tests always.
In the previous version, the check that changes the default value to
false got lost in some rebase. Get it back.
Diffstat (limited to 'migration/migration.h')
-rw-r--r-- | migration/migration.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/migration/migration.h b/migration/migration.h index e2247d708f..3a918514e7 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -412,8 +412,7 @@ struct MigrationState { * only need to do this flush after we have go through all the * dirty pages. For historical reasons, we do that after each * section. This is suboptimal (we flush too many times). - * Default value is false. Setting this property has no effect - * until the patch that removes this comment. (since 8.1) + * Default value is false. (since 8.1) */ bool multifd_flush_after_each_section; /* |