path: root/QMP
authorLuiz Capitulino <[email protected]>2010-01-14 16:50:57 (GMT)
committer Anthony Liguori <[email protected]>2010-01-19 22:31:03 (GMT)
commit586153d9520c4ec3e4352cffa683b92ef5f23925 (patch) (side-by-side diff)
tree5d4c31fc0bd80abde6b177e09fe993966a8794f2 /QMP
parent4a80dba3920cf8e0829b9ce4769842ce94748bf4 (diff)
QMP: Introduce VNC_CONNECTED event
It's emitted when a VNC client connects to QEMU, client's information such as port and IP address are provided. Note that this event is emitted right when the connection is established. This means that it happens before authentication procedure and session initialization. Event example: { "event": "VNC_CONNECTED", "timestamp": { "seconds": 1262976601, "microseconds": 975795 }, "data": { "server": { "auth": "sasl", "family": "ipv4", "service": "5901", "host": "" }, "client": { "family": "ipv4", "service": "58425", "host": "" } } } Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
Diffstat (limited to 'QMP') (more/less context) (ignore whitespace changes)
1 files changed, 7 insertions, 0 deletions
diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt
index 682a5e5..d36da46 100644
--- a/QMP/qmp-events.txt
+++ b/QMP/qmp-events.txt
@@ -24,3 +24,10 @@ Data: None.
Description: Issued when the Virtual Machine enters debug mode.
Data: None.
+Description: Issued when a VNC client establishes a connection.
+Data: 'server' and 'client' keys with the same keys as 'query-vnc',
+except that authentication ID is not provided.