mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
e93a68e102
commit
6f01f136af
6 changed files with 15 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue