diff options
author | Jan Kiszka | 2011-06-20 14:06:28 +0200 |
---|---|---|
committer | Anthony Liguori | 2011-07-23 18:26:12 +0200 |
commit | 17604dac28b2410c021a4a52dcfa58e8803dfb24 (patch) | |
tree | 27d05f93470ccb7df50d02098d98e826238c01b0 /hw/bitbang_i2c.c | |
parent | qemu-timer: Introduce clock reset notifier (diff) | |
download | qemu-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/bitbang_i2c.c')
0 files changed, 0 insertions, 0 deletions