Re: [PATCH v6 07/13] migration: Add helpers to detect TLS capability

2022-05-18 Thread Peter Xu
On Wed, May 18, 2022 at 09:57:12AM +0100, Daniel P. Berrangé wrote: > > @@ -37,4 +37,8 @@ void migration_tls_channel_connect(MigrationState *s, > > QIOChannel *ioc, > > const char *hostname, > >

Re: [PATCH v6 07/13] migration: Add helpers to detect TLS capability

2022-05-18 Thread Daniel P . Berrangé
On Tue, May 17, 2022 at 03:57:24PM -0400, Peter Xu wrote: > Add migrate_channel_requires_tls() to detect whether the specific channel > requires TLS, leveraging the recently introduced migrate_use_tls(). No > functional change intended. > > Reviewed-by: Dr. David Alan Gilbert > Signed-off-by: Pe

[PATCH v6 07/13] migration: Add helpers to detect TLS capability

2022-05-17 Thread Peter Xu
Add migrate_channel_requires_tls() to detect whether the specific channel requires TLS, leveraging the recently introduced migrate_use_tls(). No functional change intended. Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Peter Xu --- migration/channel.c | 9 ++--- migration/migration.