From 586153d9520c4ec3e4352cffa683b92ef5f23925 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 14 Jan 2010 14:50:57 -0200 Subject: 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": "0.0.0.0" }, "client": { "family": "ipv4", "service": "58425", "host": "127.0.0.1" } } } Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- QMP/qmp-events.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'QMP') diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 682a5e53ac..d36da468ad 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. + +4 VNC_CONNECTED +--------------- + +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. -- cgit v1.2.1