Prasad Pandit <[email protected]> writes:

> From: Peter Xu <[email protected]>
>
> Add a savevm handler for a module to opt-in sending extra sections right
> before postcopy starts, and before VM is stopped.
>
> RAM will start to use this new savevm handler in the next patch to do flush
> and sync for multifd pages.
>
> Note that we choose to do it before VM stopped because the current only
> potential user is not sensitive to VM status, so doing it before VM is
> stopped is preferred to enlarge any postcopy downtime.
>
> It is still a bit unfortunate that we need to introduce such a new savevm
> handler just for the only use case, however it's so far the cleanest.
>
> Signed-off-by: Peter Xu <[email protected]>
> Signed-off-by: Prasad Pandit <[email protected]>

Reviewed-by: Fabiano Rosas <[email protected]>

Reply via email to