]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: Consolidate return path closing code
authorFabiano Rosas <farosas@suse.de>
Mon, 18 Sep 2023 17:28:20 +0000 (14:28 -0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 Sep 2023 17:58:02 +0000 (13:58 -0400)
commitd50f5dc075cbb891bfe4a9378600a4871264468a
tree3256e23ad8c80ae9a0416763ec653671ea1d5960
parentb3b101157d4651f12e6b3361af2de6bace7f9b4a
migration: Consolidate return path closing code

We'll start calling the await_return_path_close_on_source() function
from other parts of the code, so move all of the related checks and
tracepoints into it.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230918172822.19052-7-farosas@suse.de>
migration/migration.c