Re: [PATCH v2 4/9] migration: Fix hang after error in destination setup phase

2025-02-11 Thread Peter Xu
On Tue, Feb 11, 2025 at 12:01:31PM -0300, Fabiano Rosas wrote: > If the destination side fails at migration_ioc_process_incoming() > before starting the coroutine, it will report the error but QEMU will > not exit. > > Set the migration state to FAILED and exit the process if > exit-on-error allow

[PATCH v2 4/9] migration: Fix hang after error in destination setup phase

2025-02-11 Thread Fabiano Rosas
If the destination side fails at migration_ioc_process_incoming() before starting the coroutine, it will report the error but QEMU will not exit. Set the migration state to FAILED and exit the process if exit-on-error allows. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2633 Reported-b