]> git.proxmox.com Git - qemu.git/blobdiff - QMP/qmp-events.txt
QMP: Introduce RTC_CHANGE event
[qemu.git] / QMP / qmp-events.txt
index 5ab5750651c5a5f5ce7e22b749bc67d83b2746ee..72920f6dfbaa14a433a1dbb73ed7217e38680bb3 100644 (file)
@@ -38,6 +38,21 @@ Example:
 { "event": "RESET",
     "timestamp": { "seconds": 1267041653, "microseconds": 9518 } }
 
+RTC_CHANGE
+----------
+
+Emitted when the RTC time changes.
+
+Data:
+
+- "offset": delta against the host UTC in seconds (json-number)
+
+Example:
+
+{ "event": "RTC_CHANGE",
+    "data": { "offset": 78 },
+    "timestamp": { "seconds": 1267020223, "microseconds": 435656 } }
+
 SHUTDOWN
 --------