aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/qmp-events.txt18
-rw-r--r--qapi/event.json9
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' } }