]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
qmp-events: move 'RTC_CHANGE' doc to schema
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 23 Jun 2016 14:25:25 +0000 (16:25 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 16 Jan 2017 08:19:49 +0000 (09:19 +0100)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/qmp-events.txt
qapi/event.json

index 8e709ea84c703784d6eadd76cb27a8a24e09f0f2..35760649aab5481adc84340a3ffbfa6a43653cf1 100644 (file)
@@ -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
 ---------------
 
index 3ac4eb148f5ae1175d7c6590b275befc84d1ec20..e2ab2c760a3c7794cf4e407d3a0689efcb1a2f06 100644 (file)
 # @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' } }