diff options
author | Wenchao Xia <wenchaoqemu@gmail.com> | 2014-06-18 08:43:49 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-06-23 11:12:28 -0400 |
commit | fb6ba0d5256cca2f1e844c03a7a51dd0a7982ac2 (patch) | |
tree | f2f422dbe7a32d74d5c400c6b2e15ae224d5b3b1 /qapi-event.json | |
parent | 061502790328ac8d09d39b2b580121dc2ac3f19f (diff) | |
download | qemu-fb6ba0d5256cca2f1e844c03a7a51dd0a7982ac2.zip qemu-fb6ba0d5256cca2f1e844c03a7a51dd0a7982ac2.tar.gz qemu-fb6ba0d5256cca2f1e844c03a7a51dd0a7982ac2.tar.bz2 |
qapi event: convert VNC events
Since VNC_CONNECTED, VNC_DISCONNECTED, VNC_INITIALIZED share some
common functions, convert them in one patch.
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-event.json')
-rw-r--r-- | qapi-event.json | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/qapi-event.json b/qapi-event.json index b8dec47..a86f8c9 100644 --- a/qapi-event.json +++ b/qapi-event.json @@ -137,3 +137,52 @@ ## { 'event': 'NIC_RX_FILTER_CHANGED', 'data': { '*name': 'str', 'path': 'str' } } + +## +# @VNC_CONNECTED +# +# Emitted when a VNC client establishes a connection +# +# @server: server information +# +# @client: client information +# +# Note: This event is emitted before any authentication takes place, thus +# the authentication ID is not provided +# +# Since: 0.13.0 +## +{ 'event': 'VNC_CONNECTED', + 'data': { 'server': 'VncServerInfo', + 'client': 'VncBasicInfo' } } + +## +# @VNC_INITIALIZED +# +# Emitted after authentication takes place (if any) and the VNC session is +# made active +# +# @server: server information +# +# @client: client information +# +# Since: 0.13.0 +## +{ 'event': 'VNC_INITIALIZED', + 'data': { 'server': 'VncServerInfo', + 'client': 'VncClientInfo' } } + +## +# @VNC_DISCONNECTED +# +# Emitted when the connection is closed +# +# @server: server information +# +# @client: client information +# +# Since: 0.13.0 +## +{ 'event': 'VNC_DISCONNECTED', + 'data': { 'server': 'VncServerInfo', + 'client': 'VncClientInfo' } } |