Peter Xu <[email protected]> writes: > On Fri, Dec 26, 2025 at 06:19:09PM -0300, Fabiano Rosas wrote: >> cpr_set_incoming_mode() is only called on the target side, so >> migrate_mode() on the source side is the same as s->parameters.mode. >> >> Use the function to reduce explicit access to s->parameters, we have >> options.c for that. >> >> Signed-off-by: Fabiano Rosas <[email protected]> > > Reviewed-by: Peter Xu <[email protected]> > > Said that, we have three more users outside options.c. Wanna do it > together? They are: > > migration_call_notifiers, migrate_mode_is_cpr, migrate_prepare. >
Yep
