Re: [PATCH 03/11] migration: Refactor migration_incoming_setup()

2024-01-02 Thread Fabiano Rosas
Avihai Horon writes: > Commit 6720c2b32725 ("migration: check magic value for deciding the > mapping of channels") extracted the only code that could fail in > migration_incoming_setup(). > > Now migration_incoming_setup() can't fail, so refactor it to return void > and remove errp parameter. > >

Re: [PATCH 03/11] migration: Refactor migration_incoming_setup()

2024-01-02 Thread Philippe Mathieu-Daudé
On 31/12/23 10:30, Avihai Horon wrote: Commit 6720c2b32725 ("migration: check magic value for deciding the mapping of channels") extracted the only code that could fail in migration_incoming_setup(). Now migration_incoming_setup() can't fail, so refactor it to return void and remove errp paramet

[PATCH 03/11] migration: Refactor migration_incoming_setup()

2023-12-31 Thread Avihai Horon
Commit 6720c2b32725 ("migration: check magic value for deciding the mapping of channels") extracted the only code that could fail in migration_incoming_setup(). Now migration_incoming_setup() can't fail, so refactor it to return void and remove errp parameter. Signed-off-by: Avihai Horon --- mi