diff options
author | Daniel P. Berrange | 2016-09-30 12:57:14 +0200 |
---|---|---|
committer | Daniel P. Berrange | 2016-10-27 09:13:10 +0200 |
commit | 6f01f136af7516b180bc14408c56f96826a316b3 (patch) | |
tree | 83024aad5c8a931dbf4e87d3bd53c0a3376e67cc /migration/tls.c | |
parent | char: set name for all I/O channels created (diff) | |
download | qemu-6f01f136af7516b180bc14408c56f96826a316b3.tar.gz qemu-6f01f136af7516b180bc14408c56f96826a316b3.tar.xz qemu-6f01f136af7516b180bc14408c56f96826a316b3.zip |
migration: set name for all I/O channels created
Ensure that all I/O channels created for migration are given names
to distinguish their respective roles.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'migration/tls.c')
-rw-r--r-- | migration/tls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/tls.c b/migration/tls.c index 12c053d15f..49ca9a8930 100644 --- a/migration/tls.c +++ b/migration/tls.c @@ -99,6 +99,7 @@ void migration_tls_channel_process_incoming(MigrationState *s, } trace_migration_tls_incoming_handshake_start(); + qio_channel_set_name(QIO_CHANNEL(tioc), "migration-tls-incoming"); qio_channel_tls_handshake(tioc, migration_tls_incoming_handshake, NULL, @@ -154,6 +155,7 @@ void migration_tls_channel_connect(MigrationState *s, } trace_migration_tls_outgoing_handshake_start(hostname); + qio_channel_set_name(QIO_CHANNEL(tioc), "migration-tls-outgoing"); qio_channel_tls_handshake(tioc, migration_tls_outgoing_handshake, s, |