diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:30:33 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 659789ba365bfc99210adf5347a28dc3f977e727 (patch) | |
tree | dac00de5c93d2ddc2542f8e4a5a847347dd93711 | |
parent | 99ab2471a438ec3f9041c80cbdd412f19949cc18 (diff) |
qmp-events: move 'VNC_DISCONNECTED' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | docs/qmp-events.txt | 29 | ||||
-rw-r--r-- | qapi/event.json | 11 |
2 files changed, 11 insertions, 29 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index 1bc7672d40..c9d44f3146 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -259,35 +259,6 @@ Example: {"timestamp": {"seconds": 1449669631, "microseconds": 239225}, "event": "MIGRATION_PASS", "data": {"pass": 2}} -VNC_DISCONNECTED ----------------- - -Emitted when the connection is closed. - -Data: - -- "server": Server information (json-object) - - "host": IP address (json-string) - - "service": port number (json-string) - - "family": address family (json-string, "ipv4" or "ipv6") - - "auth": authentication method (json-string, optional) -- "client": Client information (json-object) - - "host": IP address (json-string) - - "service": port number (json-string) - - "family": address family (json-string, "ipv4" or "ipv6") - - "x509_dname": TLS dname (json-string, optional) - - "sasl_username": SASL username (json-string, optional) - -Example: - -{ "event": "VNC_DISCONNECTED", - "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": "luiz" } }, - "timestamp": { "seconds": 1262976601, "microseconds": 975795 } } - VSERPORT_CHANGE --------------- diff --git a/qapi/event.json b/qapi/event.json index 72edcba24d..9f380ee2b4 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -293,6 +293,17 @@ # @client: client information # # Since: 0.13.0 +# +# Example: +# +# <- { "event": "VNC_DISCONNECTED", +# "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": "luiz" } }, +# "timestamp": { "seconds": 1262976601, "microseconds": 975795 } } +# ## { 'event': 'VNC_DISCONNECTED', 'data': { 'server': 'VncServerInfo', |