summaryrefslogtreecommitdiffstats
path: root/QMP
authorLuiz Capitulino <[email protected]>2010-02-25 15:11:44 (GMT)
committer Anthony Liguori <[email protected]>2010-03-08 17:30:09 (GMT)
commit80cd34787fc0fc31b1a341c7b8d8e729c1b6ea58 (patch) (side-by-side diff)
tree87b4d9bb87753831af21d16f6ce011f985fdbd37 /QMP
parentd74c7dfd1b63850309d7595b4db2e91b78c1dc05 (diff)
downloadqemu-kvm-80cd34787fc0fc31b1a341c7b8d8e729c1b6ea58.zip
qemu-kvm-80cd34787fc0fc31b1a341c7b8d8e729c1b6ea58.tar.gz
qemu-kvm-80cd34787fc0fc31b1a341c7b8d8e729c1b6ea58.tar.bz2
QMP: Introduce RTC_CHANGE event
Emitted whenever the RTC time changes. Signed-off-by: Luiz Capitulino <[email protected]> Signed-off-by: Anthony Liguori <[email protected]>
Diffstat (limited to 'QMP') (more/less context) (ignore whitespace changes)
-rw-r--r--QMP/qmp-events.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt
index 5ab5750..72920f6 100644
--- a/QMP/qmp-events.txt
+++ b/QMP/qmp-events.txt
@@ -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
--------