From 0d72f3d31b4bc320ac498f011129a646a12f9389 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 14 Jan 2010 14:50:58 -0200 Subject: QMP: Introduce VNC_DISCONNECTED event It's emitted when a VNC client disconnects from QEMU, client's information such as port and IP address are provided. Event example: { "event": "VNC_DISCONNECTED", "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", "sasl_username": "foo" } } } Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- QMP/qmp-events.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'QMP/qmp-events.txt') diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index d36da468ad..1e87eb16c6 100644 --- a/QMP/qmp-events.txt +++ b/QMP/qmp-events.txt @@ -31,3 +31,9 @@ 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. + +5 VNC_DISCONNECTED +------------------ + +Description: Issued when the conection is closed. +Data: 'server' and 'client' keys with the same keys as 'query-vnc'. -- cgit v1.2.3