]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: Add helpers to detect TLS capability
authorPeter Xu <peterx@redhat.com>
Thu, 7 Jul 2022 18:55:13 +0000 (14:55 -0400)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 20 Jul 2022 11:15:08 +0000 (12:15 +0100)
commit85a8578ea501029f10f5d19d88115adee0ae10cc
tree2817c4ec5427a9751997509b1a97ca74e01e13e0
parentc8750de11810ddca96026fc0edf87b64c1350f76
migration: Add helpers to detect TLS capability

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 <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220707185513.27421-1-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/channel.c
migration/migration.c
migration/multifd.c
migration/tls.c
migration/tls.h