Re: [PATCH 5/6] migration: Fix hang after error in destination setup phase

2024-12-04 Thread Fabiano Rosas
Peter Xu writes: > On Mon, Dec 02, 2024 at 07:01:36PM -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 proces

Re: [PATCH 5/6] migration: Fix hang after error in destination setup phase

2024-12-04 Thread Peter Xu
On Mon, Dec 02, 2024 at 07:01:36PM -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 5/6] migration: Fix hang after error in destination setup phase

2024-12-02 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. CC: Thomas Huth Resolves: https://gitlab.com/qemu-project/qemu/-/issue