]> git.proxmox.com Git - mirror_qemu.git/commit
migration/multifd: Cleanup multifd_recv_sync_main
authorFabiano Rosas <farosas@suse.de>
Thu, 29 Feb 2024 15:29:55 +0000 (12:29 -0300)
committerPeter Xu <peterx@redhat.com>
Fri, 1 Mar 2024 07:42:04 +0000 (15:42 +0800)
commit4aac6b1e9bd48677c4f24518fe86ffd34c677d5a
tree4be5f25915163f70d265b4f05bbd7a7230515cee
parent2b571432314ab42da742fbb578f4174166ecd7f5
migration/multifd: Cleanup multifd_recv_sync_main

Some minor cleanups and documentation for multifd_recv_sync_main.

Use thread_count as done in other parts of the code. Remove p->id from
the multifd_recv_state sync, since that is global and not tied to a
channel. Add documentation for the sync steps.

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