icount: fix shift=auto for record/replay
commitb8164e68e5f91325821d413fec84b9a0956e95bb
authorPavel Dovgalyuk <Pavel.Dovgaluk@gmail.com>
Tue, 19 May 2020 10:43:20 +0000 (19 13:43 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:09:35 +0000 (10 12:09 -0400)
tree480106adad5c7f746adfd2aebfb91771b136a9cb
parentea81f98bce48fc424960ca180fe2ccad0427bfc7
icount: fix shift=auto for record/replay

This patch fixes shift=auto when record/replay is enabled.
Now user does not need to guess the best shift value.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
--

v2:
  moved icount_time_shift to vmstate subsection
Message-Id: <158988500050.15192.692077802469400393.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c