icount: fixed saving/restoring of icount warp timers
commitb39e3f34c9de7ead6a11a74aa2de78baf41d81a7
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Thu, 11 Jan 2018 08:26:10 +0000 (11 11:26 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jan 2018 13:54:51 +0000 (16 14:54 +0100)
tree0b372b69d403bf34ef4db3a807ff6ddad70e2d0d
parentc24999fa53e581335413c33f68748c1fc7b3d84b
icount: fixed saving/restoring of icount warp timers

This patch adds saving and restoring of the icount warp
timers in the vmstate.
It is needed because there timers affect the virtual clock value.
Therefore determinism of the execution in icount record/replay mode
depends on determinism of the timers.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
cpus.c