diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:25:25 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 73c41bfd314fe3319e35325162a7e9ded310fc4f (patch) | |
tree | 53506dac5dac0838af9adacd971a2b73008ba127 | |
parent | aa496f9812a7fb880f8782c8c3956183e759fbf0 (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>
-rw-r--r-- | docs/qmp-events.txt | 18 | ||||
-rw-r--r-- | qapi/event.json | 9 |
2 files changed, 9 insertions, 18 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index 8e709ea84c..35760649aa 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -166,24 +166,6 @@ Flush operation: Note: this event is rate-limited. -RTC_CHANGE ----------- - -Emitted when the guest changes the RTC time. - -Data: - -- "offset": Offset between base RTC clock (as specified by -rtc base), and -new RTC clock value (json-number) - -Example: - -{ "event": "RTC_CHANGE", - "data": { "offset": 78 }, - "timestamp": { "seconds": 1267020223, "microseconds": 435656 } } - -Note: this event is rate-limited. - SPICE_CONNECTED --------------- 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' } } |