Re: [PATCH v2 1/9] migration: Set migration error outside of migrate_cancel

2025-02-11 Thread Peter Xu
On Tue, Feb 11, 2025 at 12:01:28PM -0300, Fabiano Rosas wrote: > There's no point passing the error into migration cancel only for it > to call migrate_set_error(). > > Signed-off-by: Fabiano Rosas Reviewed-by: Peter Xu -- Peter Xu

[PATCH v2 1/9] migration: Set migration error outside of migrate_cancel

2025-02-11 Thread Fabiano Rosas
There's no point passing the error into migration cancel only for it to call migrate_set_error(). Signed-off-by: Fabiano Rosas --- migration/migration.c | 7 ++- migration/migration.h | 2 +- migration/ram.c | 4 +++- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/migra