migration/rdma: Unfold ram_control_after_iterate()
commit5f5b8858dc1c11916000a5a2038044dec31640d6
authorJuan Quintela <quintela@redhat.com>
Wed, 11 Oct 2023 20:35:17 +0000 (11 22:35 +0200)
committerJuan Quintela <quintela@redhat.com>
Tue, 17 Oct 2023 07:25:13 +0000 (17 09:25 +0200)
tree53ee26d8485941e23cfb2cd77aa1ce2ca849f10a
parent48408174a7ec7bfdc18c6d9886d0eeb20520a349
migration/rdma: Unfold ram_control_after_iterate()

Once there:
- Remove unused data parameter
- unfold it in its callers
- change all callers to call qemu_rdma_registration_stop()
- We need to call QIO_CHANNEL_RDMA() after we check for migrate_rdma()

Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231011203527.9061-4-quintela@redhat.com>
migration/qemu-file.c
migration/qemu-file.h
migration/ram.c
migration/rdma.c
migration/rdma.h