summaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-01-14 14:50:57 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-19 16:31:03 -0600
commitd93180e3af9d136ac7ea7a3ab8ba98bbd5f532de (patch)
tree5d4c31fc0bd80abde6b177e09fe993966a8794f2 /monitor.h
parent90a9cdebead9cee6d66340d0015f7b49be1403cf (diff)
downloadqemu-d93180e3af9d136ac7ea7a3ab8ba98bbd5f532de.tar.gz
qemu-d93180e3af9d136ac7ea7a3ab8ba98bbd5f532de.tar.bz2
qemu-d93180e3af9d136ac7ea7a3ab8ba98bbd5f532de.zip
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 <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.h')
-rw-r--r--monitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor.h b/monitor.h
index 6ed117a920..4d57679000 100644
--- a/monitor.h
+++ b/monitor.h
@@ -20,6 +20,7 @@ typedef enum MonitorEvent {
QEVENT_RESET,
QEVENT_POWERDOWN,
QEVENT_STOP,
+ QEVENT_VNC_CONNECTED,
QEVENT_MAX,
} MonitorEvent;