Re: [PATCH v4 14/19] migration: Add helpers to detect TLS capability

2022-04-20 Thread Peter Xu
On Wed, Apr 20, 2022 at 12:10:14PM +0100, Daniel P. Berrangé wrote: > On Thu, Mar 31, 2022 at 11:08:52AM -0400, Peter Xu wrote: > > Add migrate_tls_enabled() to detect whether TLS is configured. > > > > Add migrate_channel_requires_tls() to detect whether the specific channel > > requires TLS. > >

Re: [PATCH v4 14/19] migration: Add helpers to detect TLS capability

2022-04-20 Thread Daniel P . Berrangé
On Thu, Mar 31, 2022 at 11:08:52AM -0400, Peter Xu wrote: > Add migrate_tls_enabled() to detect whether TLS is configured. > > Add migrate_channel_requires_tls() to detect whether the specific channel > requires TLS. > > No functional change intended. > > Signed-off-by: Peter Xu > --- > migrat

[PATCH v4 14/19] migration: Add helpers to detect TLS capability

2022-03-31 Thread Peter Xu
Add migrate_tls_enabled() to detect whether TLS is configured. Add migrate_channel_requires_tls() to detect whether the specific channel requires TLS. No functional change intended. Signed-off-by: Peter Xu --- migration/channel.c | 10 ++ migration/migration.c | 17 +