aboutsummaryrefslogtreecommitdiff
path: root/qapi/event.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:39:06 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:50 +0100
commit14df1ea1683a52decbe4664fba6a8aa139536f27 (patch)
tree95a63e3d3ab36ca681e693b933a33efc343bcbb8 /qapi/event.json
parent2ee7fea7ce0306e39fa4bfed122c3fa0acf0bb02 (diff)
qmp-events: move 'VSERPORT_CHANGE' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/event.json')
-rw-r--r--qapi/event.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/qapi/event.json b/qapi/event.json
index 5779d5d714..a9f974fa36 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -571,6 +571,13 @@
# @open: true if the guest has opened the virtio-serial port
#
# Since: 2.1
+#
+# Example:
+#
+# <- { "event": "VSERPORT_CHANGE",
+# "data": { "id": "channel0", "open": true },
+# "timestamp": { "seconds": 1401385907, "microseconds": 422329 } }
+#
##
{ 'event': 'VSERPORT_CHANGE',
'data': { 'id': 'str', 'open': 'bool' } }