diff options
| author | Peter Xu <peterx@redhat.com> | 2024-12-06 17:47:54 -0500 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2025-01-09 17:38:27 -0300 |
| commit | 1aa81c3098f0270905deff516d455604fcbfaab5 (patch) | |
| tree | 04cbe9f12553a34f453e101e15ca26904e71edeb /monitor/qmp-cmds.c | |
| parent | de695b1399242da0c618049932a9a6f1a0a0a4f1 (diff) | |
| download | focaccia-qemu-1aa81c3098f0270905deff516d455604fcbfaab5.tar.gz focaccia-qemu-1aa81c3098f0270905deff516d455604fcbfaab5.zip | |
migration/multifd: Cleanup src flushes on condition check
The src flush condition check is over complicated, and it's getting more out of control if postcopy will be involved. In general, we have two modes to do the sync: legacy or modern ways. Legacy uses per-section flush, modern uses per-round flush. Mapped-ram always uses the modern, which is per-round. Introduce two helpers, which can greatly simplify the code, and hopefully make it readable again. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Message-Id: <20241206224755.1108686-7-peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'monitor/qmp-cmds.c')
0 files changed, 0 insertions, 0 deletions