summaryrefslogtreecommitdiffstats
path: root/hw/mpcore.c
diff options
context:
space:
mode:
authorJan Kiszka2011-06-20 14:06:28 +0200
committerAnthony Liguori2011-07-23 18:26:12 +0200
commit17604dac28b2410c021a4a52dcfa58e8803dfb24 (patch)
tree27d05f93470ccb7df50d02098d98e826238c01b0 /hw/mpcore.c
parentqemu-timer: Introduce clock reset notifier (diff)
downloadqemu-17604dac28b2410c021a4a52dcfa58e8803dfb24.tar.gz
qemu-17604dac28b2410c021a4a52dcfa58e8803dfb24.tar.xz
qemu-17604dac28b2410c021a4a52dcfa58e8803dfb24.zip
mc146818rtc: Handle host clock resets
Make use of the new clock reset notifier to update the RTC whenever rtc_clock is the host clock and that happens to jump backward. This avoids that the RTC stalls for the period the host clock was set back. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mpcore.c')
0 files changed, 0 insertions, 0 deletions