On 2026-08-01 08:06, Aadeshveer Singh wrote:
> Use new function try_mark_postcopy_blocktim_begin() to call
> mark_postcopy_blocktime_begin if page was not received and return if it
> actually marked it.
> 
> This will help in having a cleaner API to call
> mark_postcopy_blocktime_begin as it requires the page to not be received
> by asserting on it's existance in RAMBlock->receivedmap.
> 
> Signed-off-by: Aadeshveer Singh <[email protected]>
> Reviewed-by: Peter Xu <[email protected]>
> ---
>  migration/migration.c    | 24 ++----------------------
>  migration/postcopy-ram.c | 31 +++++++++++++++++++++++++++++++
>  migration/postcopy-ram.h |  3 +++
>  3 files changed, 36 insertions(+), 22 deletions(-)

Reviewed-by: Juraj Marcin <[email protected]>


Reply via email to