Skip to content

Commit

Permalink
docs: document missing VSERPORT_CHANGE event
Browse files Browse the repository at this point in the history
The VSERPORT_CHANGE event was added in e2ae615.  The patch for
this event was prepared at a time when this file was gone, even
though it got applied immediately after dfab489 restored this
file.  Duplicate the documentation into this file, so that
anyone using this file instead of qapi will not miss out on this
new event.

* docs/qmp/qmp-events.txt (VSERPORT_CHANGE): Add.

Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Reviewed-by: Wenchao Xia <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
  • Loading branch information
ebblake authored and Luiz Capitulino committed Jul 24, 2014
1 parent db52658 commit 032badd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/qmp/qmp-events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,22 @@ Example:
"host": "127.0.0.1", "sasl_username": "luiz" } },
"timestamp": { "seconds": 1263475302, "microseconds": 150772 } }

VSERPORT_CHANGE
---------------

Emitted when the guest opens or closes a virtio-serial port.

Data:

- "id": device identifier of the virtio-serial port (json-string)
- "open": true if the guest has opened the virtio-serial port (json-bool)

Example:

{ "event": "VSERPORT_CHANGE",
"data": { "id": "channel0", "open": true },
"timestamp": { "seconds": 1401385907, "microseconds": 422329 } }

WAKEUP
------

Expand Down

0 comments on commit 032badd

Please sign in to comment.