diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:32:29 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 93ab0fc3c3d4884c475fa452a41e9c4bd1d693d6 (patch) | |
tree | f10d1e97265e887e8e20c06f95e05c7742d0b858 | |
parent | da08e2a5a2a6ba5956bee1158f9ac2fc2ce364b8 (diff) |
qmp-events: move 'SPICE_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 | 25 | ||||
-rw-r--r-- | qapi/event.json | 10 |
2 files changed, 10 insertions, 25 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index bca0f540e4..8fa3c23683 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -131,31 +131,6 @@ Flush operation: Note: this event is rate-limited. -SPICE_DISCONNECTED ------------------- - -Emitted when a SPICE client disconnects. - -Data: - -- "server": Server information (json-object) - - "host": IP address (json-string) - - "port": port number (json-string) - - "family": address family (json-string, "ipv4" or "ipv6") -- "client": Client information (json-object) - - "host": IP address (json-string) - - "port": port number (json-string) - - "family": address family (json-string, "ipv4" or "ipv6") - -Example: - -{ "timestamp": {"seconds": 1290688046, "microseconds": 388707}, - "event": "SPICE_DISCONNECTED", - "data": { - "server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"}, - "client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"} -}} - SPICE_MIGRATE_COMPLETED ----------------------- diff --git a/qapi/event.json b/qapi/event.json index c1f026cce4..bbab069bec 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -372,6 +372,16 @@ # @client: client information # # Since: 0.14.0 +# +# Example: +# +# <- { "timestamp": {"seconds": 1290688046, "microseconds": 388707}, +# "event": "SPICE_DISCONNECTED", +# "data": { +# "server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"}, +# "client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"} +# }} +# ## { 'event': 'SPICE_DISCONNECTED', 'data': { 'server': 'SpiceBasicInfo', |