Xiao Guangrong 9a6e2dcfdd mc146818rtc: update periodic timer only if it is needed
Currently, the timer is updated whenever RegA or RegB is written
even if the periodic timer related configuration is not changed

This patch optimizes it slightly to make the update happen only
if its period or enable-status is changed, also later patches are
depend on this optimization

Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Message-Id: <20170510083259.3900-2-xiaoguangrong@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-06-06 20:18:35 +02:00
..
2016-01-29 15:07:23 +00:00
2017-05-17 10:37:01 -03:00
2017-02-28 12:08:16 +00:00
2017-06-02 05:54:43 +01:00
2016-05-19 16:42:29 +02:00
2017-06-02 05:54:43 +01:00
2017-01-24 17:54:47 +00:00