diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-02-25 12:11:44 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-08 11:30:09 -0600 |
commit | 21ce6921fc7de082df8e97975f7b26c0b3d7c7b8 (patch) | |
tree | 87b4d9bb87753831af21d16f6ce011f985fdbd37 /QMP | |
parent | 79c800ae63eaefe13bdae5f3ceaa7541ef4053ee (diff) | |
download | qemu-21ce6921fc7de082df8e97975f7b26c0b3d7c7b8.tar.gz qemu-21ce6921fc7de082df8e97975f7b26c0b3d7c7b8.tar.bz2 qemu-21ce6921fc7de082df8e97975f7b26c0b3d7c7b8.zip |
QMP: Introduce RTC_CHANGE event
Emitted whenever the RTC time changes.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'QMP')
-rw-r--r-- | QMP/qmp-events.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 5ab5750651..72920f6dfb 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 -------- |