qmp-events: move 'SPICE_CONNECTED' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
659789ba36
commit
5db6670347
@ -131,31 +131,6 @@ Flush operation:
|
||||
|
||||
Note: this event is rate-limited.
|
||||
|
||||
SPICE_CONNECTED
|
||||
---------------
|
||||
|
||||
Emitted when a SPICE client connects.
|
||||
|
||||
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_CONNECTED",
|
||||
"data": {
|
||||
"server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"},
|
||||
"client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"}
|
||||
}}
|
||||
|
||||
SPICE_DISCONNECTED
|
||||
------------------
|
||||
|
||||
|
@ -319,6 +319,16 @@
|
||||
# @client: client information
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# <- { "timestamp": {"seconds": 1290688046, "microseconds": 388707},
|
||||
# "event": "SPICE_CONNECTED",
|
||||
# "data": {
|
||||
# "server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"},
|
||||
# "client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"}
|
||||
# }}
|
||||
#
|
||||
##
|
||||
{ 'event': 'SPICE_CONNECTED',
|
||||
'data': { 'server': 'SpiceBasicInfo',
|
||||
|
Loading…
Reference in New Issue
Block a user