migration/multifd: Move multifd_send_setup error handling in to the function
authorFabiano Rosas <farosas@suse.de>
Tue, 6 Feb 2024 21:51:15 +0000 (18:51 -0300)
committerPeter Xu <peterx@redhat.com>
Wed, 7 Feb 2024 01:53:18 +0000 (09:53 +0800)
commitbd8b0a8f82d8fc17aa285ab963ba75675c2fbe7a
treea7c81e070aec705264198bdee1468784fe0342c5
parenta2a63c4abd52f4e3ff4046dcb67fe44ebf0bb8de
migration/multifd: Move multifd_send_setup error handling in to the function

Hide the error handling inside multifd_send_setup to make it cleaner
for the next patch to move the function around.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240206215118.6171-4-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/migration.c
migration/multifd.c
migration/multifd.h