Re: [PATCH v3 6/9] migration: Don't set FAILED state when cancelling

2025-02-13 Thread Peter Xu
On Thu, Feb 13, 2025 at 02:59:24PM -0300, Fabiano Rosas wrote: > The expected outcome from qmp_migrate_cancel() is that the source > migration goes to the terminal state > MIGRATION_STATUS_CANCELLED. Anything different from this is a bug when > cancelling. > > Make sure there is never a state tran

[PATCH v3 6/9] migration: Don't set FAILED state when cancelling

2025-02-13 Thread Fabiano Rosas
The expected outcome from qmp_migrate_cancel() is that the source migration goes to the terminal state MIGRATION_STATUS_CANCELLED. Anything different from this is a bug when cancelling. Make sure there is never a state transition from an unspecified state into FAILED. Code that sets FAILED, should