diff options
author | Peter Xu <peterx@redhat.com> | 2024-02-22 17:53:00 +0800 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-02-28 11:31:28 +0800 |
commit | 72b90b96872acc5d00f9c16dfc196543349361da (patch) | |
tree | 00e7e16319bb768a3adc5b61bcaf6ff41363434c /migration/ram.c | |
parent | 770de49c00fa9eb262473f282c92979b47b7fd22 (diff) | |
download | qemu-72b90b96872acc5d00f9c16dfc196543349361da.zip qemu-72b90b96872acc5d00f9c16dfc196543349361da.tar.gz qemu-72b90b96872acc5d00f9c16dfc196543349361da.tar.bz2 |
migration/multifd: Cleanup outgoing_args in state destroy
outgoing_args is a global cache of socket address to be reused in multifd.
Freeing the cache in per-channel destructor is more or less a hack. Move
it to multifd_send_cleanup_state() so it only get checked once. Use a
small helper to do so because it's internal of socket.c.
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240222095301.171137-5-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/ram.c')
0 files changed, 0 insertions, 0 deletions