aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:25:25 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:49 +0100
commit73c41bfd314fe3319e35325162a7e9ded310fc4f (patch)
tree53506dac5dac0838af9adacd971a2b73008ba127 /qapi
parentaa496f9812a7fb880f8782c8c3956183e759fbf0 (diff)
qmp-events: move 'RTC_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')
-rw-r--r--qapi/event.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/qapi/event.json b/qapi/event.json
index 3ac4eb148f..e2ab2c760a 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -141,7 +141,16 @@
# @offset: offset between base RTC clock (as specified by -rtc base), and
# new RTC clock value
#
+# Note: This event is rate-limited.
+#
# Since: 0.13.0
+#
+# Example:
+#
+# <- { "event": "RTC_CHANGE",
+# "data": { "offset": 78 },
+# "timestamp": { "seconds": 1267020223, "microseconds": 435656 } }
+#
##
{ 'event': 'RTC_CHANGE',
'data': { 'offset': 'int' } }