replay: fix replay of the interrupts
commit189012fcd7babafd937c4cabd5c3231be6e85fdc
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Mon, 1 Feb 2021 07:05:27 +0000 (1 10:05 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Feb 2021 13:43:55 +0000 (8 14:43 +0100)
tree38c1f6fff3f0b6ebf78ea42c9f714125b9f3cb7d
parent38e0b7904eca7cd32f8953c33701e1f226ecc3fe
replay: fix replay of the interrupts

Sometimes interrupt event comes at the same time with
the virtual timers. In this case replay tries to proceed
the timers, because deadline for them is zero.
This patch allows processing interrupts and exceptions
by entering the vCPU execution loop, when deadline is zero,
but checkpoint associated with virtual timers is not ready
to be replayed.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <161216312794.2030770.1709657858900983160.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/tcg/tcg-accel-ops-icount.c