diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-03-08 11:26:13 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-03-08 11:26:14 +0000 |
commit | 3ef91576b96de7051dacc2132cddfb486b46e863 (patch) | |
tree | 8ae5b6109272dfc7ae177cb086b2afaaac7bd12b /chardev/char-socket.c | |
parent | 854a4436dd313eaeb51c275d00526d60437915d2 (diff) | |
parent | 1939ccdaa61ce6a1f57d83277b3d41d3a9ad3c58 (diff) | |
download | qemu-3ef91576b96de7051dacc2132cddfb486b46e863.zip qemu-3ef91576b96de7051dacc2132cddfb486b46e863.tar.gz qemu-3ef91576b96de7051dacc2132cddfb486b46e863.tar.bz2 |
Merge remote-tracking branch 'remotes/berrange/tags/qio-next-pull-request' into staging
# gpg: Signature made Wed 07 Mar 2018 11:24:41 GMT
# gpg: using RSA key BE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>"
# gpg: aka "Daniel P. Berrange <berrange@redhat.com>"
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF
* remotes/berrange/tags/qio-next-pull-request:
qio: non-default context for TLS handshake
qio: non-default context for async conn
qio: non-default context for threaded qtask
qio: store gsources for net listeners
qio: introduce qio_channel_add_watch_{full|source}
qio: rename qio_task_thread_result
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'chardev/char-socket.c')
-rw-r--r-- | chardev/char-socket.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chardev/char-socket.c b/chardev/char-socket.c index 8401aae..a220803 100644 --- a/chardev/char-socket.c +++ b/chardev/char-socket.c @@ -707,6 +707,7 @@ static void tcp_chr_tls_init(Chardev *chr) qio_channel_tls_handshake(tioc, tcp_chr_tls_handshake, chr, + NULL, NULL); } @@ -871,7 +872,7 @@ static gboolean socket_reconnect_timeout(gpointer opaque) tcp_chr_set_client_ioc_name(chr, sioc); qio_channel_socket_connect_async(sioc, s->addr, qemu_chr_socket_connected, - chr, NULL); + chr, NULL, NULL); return false; } @@ -955,7 +956,7 @@ static void qmp_chardev_open_socket(Chardev *chr, tcp_chr_set_client_ioc_name(chr, sioc); qio_channel_socket_connect_async(sioc, s->addr, qemu_chr_socket_connected, - chr, NULL); + chr, NULL, NULL); } else { if (s->is_listen) { char *name; |