Skip to content

migration: Fix return-path thread exit

Cédric Le Goater qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration: Add a file_error argument to close_return_path_on_source()migration/migration.c+13 -82 replies
2/2migration: Fix return-path thread exitmigration/migration.c+5 -75 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] migration: Fix return-path thread exit

Hello,

Today, close_return_path_on_source() can perform a shutdown to exit the return-path thread if an error occured. However, migrate_fd_cleanup() does cleanups too early and the shutdown in close_return_path_on_source() fails, leaving the source and destination waiting for an event to occur.

This little series tries to fix that. Comments welcome !

Thanks,

C.

Cédric Le Goater (2):
migration: Add a file_error argument to close_return_path_on_source()
migration: Fix return-path thread exit

 migration/migration.c | 33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)
Signature · 1 line
2.43.0