replay: don't use rtc clock on loadvm phase
commit1dfb1b2d34840dce27e672f147bc4ef122abab74
authorPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Tue, 24 Jan 2017 07:17:30 +0000 (24 10:17 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 17:07:30 +0000 (27 18:07 +0100)
treed974610c51b434cc23928a109186226223fc0974
parentd718b14b8cc2a28dcf48b68c87f16a36d280c36e
replay: don't use rtc clock on loadvm phase

This patch disables the update of the periodic timer of mc146818rtc
in record/replay mode. State of this timer is saved and therefore does
not need to be updated in record/replay mode.
Read of RTC breaks the replay because all rtc reads have to be the same
as in record mode.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20170124071730.4572.41874.stgit@PASHA-ISP>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/mc146818rtc.c