summaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-03-04 15:57:41 +0000
committerDaniel P. Berrange <berrange@redhat.com>2015-12-18 12:18:31 +0000
commit2d1d0e70cf3eadca967427e71b2c5c7d031bc5c8 (patch)
treeb03e81a9e72d4b49a6f8d316271f5d06064b461c /trace-events
parented8ee42c4063809495d9eed738a26957b6dfe692 (diff)
downloadqemu-2d1d0e70cf3eadca967427e71b2c5c7d031bc5c8.tar.gz
io: add QIOChannelWebsock class
Add a QIOChannel subclass that can run the websocket protocol over the top of another QIOChannel instance. This initial implementation is only capable of acting as a websockets server. There is no support for acting as a websockets client yet. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events8
1 files changed, 8 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index a317955338..ae6ad22f38 100644
--- a/trace-events
+++ b/trace-events
@@ -1850,3 +1850,11 @@ qio_channel_tls_handshake_fail(void *ioc) "TLS handshake fail ioc=%p"
qio_channel_tls_handshake_complete(void *ioc) "TLS handshake complete ioc=%p"
qio_channel_tls_credentials_allow(void *ioc) "TLS credentials allow ioc=%p"
qio_channel_tls_credentials_deny(void *ioc) "TLS credentials deny ioc=%p"
+
+# io/channel-websock.c
+qio_channel_websock_new_server(void *ioc, void *master) "Websock new client ioc=%p master=%p"
+qio_channel_websock_handshake_start(void *ioc) "Websock handshake start ioc=%p"
+qio_channel_websock_handshake_pending(void *ioc, int status) "Websock handshake pending ioc=%p status=%d"
+qio_channel_websock_handshake_reply(void *ioc) "Websock handshake reply ioc=%p"
+qio_channel_websock_handshake_fail(void *ioc) "Websock handshake fail ioc=%p"
+qio_channel_websock_handshake_complete(void *ioc) "Websock handshake complete ioc=%p"