On 2025-09-11 17:23, Peter Xu wrote: > No issue I hit, the change is only from code observation when I am looking > at a TLS premature termination issue. > > We set CANCELLED very late, it means migration_has_failed() may not work > correctly if it's invoked before updating CANCELLING to CANCELLED. > > Allow that state will make migration_has_failed() working as expected even > if it's invoked slightly earlier. > > One current user is the multifd code for the TLS graceful termination, > where it's before updating to CANCELLED. > > Signed-off-by: Peter Xu <[email protected]> > --- > migration/migration.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Juraj Marcin <[email protected]>
