From 73c41bfd314fe3319e35325162a7e9ded310fc4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:25:25 +0200 Subject: [PATCH] qmp-events: move 'RTC_CHANGE' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-events.txt | 18 ------------------ 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' } }