OSDN Git Service

migration: Drop multifd tls_hostname cache
authorPeter Xu <peterx@redhat.com>
Thu, 31 Mar 2022 15:08:40 +0000 (11:08 -0400)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 21 Apr 2022 18:36:46 +0000 (19:36 +0100)
commit7f692ec79a211d187a4edefa01396bd8ea2d02ef
tree9dbf478147d88785c97241c51bbc241f678d579e
parent83174765da3563794a56fbe24216908f3a5db194
migration: Drop multifd tls_hostname cache

The hostname is cached N times, N equals to the multifd channels.

Drop that cache because after previous patch we've got s->hostname
being alive for the whole lifecycle of migration procedure.

Cc: Juan Quintela <quintela@redhat.com>
Cc: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220331150857.74406-3-peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/multifd.c
migration/multifd.h