diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:29:59 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 99ab2471a438ec3f9041c80cbdd412f19949cc18 (patch) | |
tree | 93613960fb75fe39be57eb4fa645011fb74ddace | |
parent | f46052fd139d8990c0d6395b563972ca1f2cf2fe (diff) | |
download | qemu-99ab2471a438ec3f9041c80cbdd412f19949cc18.zip qemu-99ab2471a438ec3f9041c80cbdd412f19949cc18.tar.gz qemu-99ab2471a438ec3f9041c80cbdd412f19949cc18.tar.bz2 |
qmp-events: move 'VNC_INITIALIZED' 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 | 30 | ||||
-rw-r--r-- | qapi/event.json | 11 |
2 files changed, 11 insertions, 30 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index f0eb626..1bc7672 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -288,36 +288,6 @@ Example: "host": "127.0.0.1", "sasl_username": "luiz" } }, "timestamp": { "seconds": 1262976601, "microseconds": 975795 } } -VNC_INITIALIZED ---------------- - -Emitted after authentication takes place (if any) and the VNC session is -made active. - -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_INITIALIZED", - "data": { - "server": { "auth": "sasl", "family": "ipv4", - "service": "5901", "host": "0.0.0.0"}, - "client": { "family": "ipv4", "service": "46089", - "host": "127.0.0.1", "sasl_username": "luiz" } }, - "timestamp": { "seconds": 1263475302, "microseconds": 150772 } } - VSERPORT_CHANGE --------------- diff --git a/qapi/event.json b/qapi/event.json index ffb07c9..72edcba 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -267,6 +267,17 @@ # @client: client information # # Since: 0.13.0 +# +# Example: +# +# <- { "event": "VNC_INITIALIZED", +# "data": { +# "server": { "auth": "sasl", "family": "ipv4", +# "service": "5901", "host": "0.0.0.0"}, +# "client": { "family": "ipv4", "service": "46089", +# "host": "127.0.0.1", "sasl_username": "luiz" } }, +# "timestamp": { "seconds": 1263475302, "microseconds": 150772 } } +# ## { 'event': 'VNC_INITIALIZED', 'data': { 'server': 'VncServerInfo', |