]> git.proxmox.com Git - qemu.git/commit - monitor.h
QMP: Introduce VNC_CONNECTED event
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 14 Jan 2010 16:50:57 +0000 (14:50 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 19 Jan 2010 22:31:03 +0000 (16:31 -0600)
commit586153d9520c4ec3e4352cffa683b92ef5f23925
tree5d4c31fc0bd80abde6b177e09fe993966a8794f2
parent4a80dba3920cf8e0829b9ce4769842ce94748bf4
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>
QMP/qmp-events.txt
monitor.c
monitor.h
vnc.c