mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
nbd: set name for all I/O channels created
Ensure that all I/O channels created for NBD are given names to distinguish their respective roles. Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
20f4aa265e
commit
0d73f7253e
4 changed files with 6 additions and 0 deletions
|
@ -349,6 +349,7 @@ static QIOChannel *nbd_negotiate_handle_starttls(NBDClient *client,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
qio_channel_set_name(QIO_CHANNEL(tioc), "nbd-server-tls");
|
||||
TRACE("Starting TLS handshake");
|
||||
data.loop = g_main_loop_new(g_main_context_default(), FALSE);
|
||||
qio_channel_tls_handshake(tioc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue