Re: [PATCH 08/11] migration/multifd: Remove error_setg() in migration_ioc_process_incoming()

2024-01-02 Thread Fabiano Rosas
Avihai Horon writes: > If multifd_load_setup() fails in migration_ioc_process_incoming(), > error_setg() is called with errp. This will lead to an assert because in > that case errp already contains an error. > > Fix it by removing the redundant error_setg(). > > Fixes: 6720c2b32725 ("migration:

[PATCH 08/11] migration/multifd: Remove error_setg() in migration_ioc_process_incoming()

2023-12-31 Thread Avihai Horon
If multifd_load_setup() fails in migration_ioc_process_incoming(), error_setg() is called with errp. This will lead to an assert because in that case errp already contains an error. Fix it by removing the redundant error_setg(). Fixes: 6720c2b32725 ("migration: check magic value for deciding the