diff options
author | Luiz Capitulino | 2010-01-14 17:50:58 +0100 |
---|---|---|
committer | Anthony Liguori | 2010-01-19 23:31:03 +0100 |
commit | 0d72f3d31b4bc320ac498f011129a646a12f9389 (patch) | |
tree | 8cfbe626b2b9d35ec57fb265bc4cd9c41516dcd5 /monitor.h | |
parent | QMP: Introduce VNC_CONNECTED event (diff) | |
download | qemu-0d72f3d31b4bc320ac498f011129a646a12f9389.tar.gz qemu-0d72f3d31b4bc320ac498f011129a646a12f9389.tar.xz qemu-0d72f3d31b4bc320ac498f011129a646a12f9389.zip |
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 <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ typedef enum MonitorEvent { QEVENT_POWERDOWN, QEVENT_STOP, QEVENT_VNC_CONNECTED, + QEVENT_VNC_DISCONNECTED, QEVENT_MAX, } MonitorEvent; |