replay: check other timers for icount limit
commitfc6b2dbac1d57fc24420fb8ee25911eb6f1d1fb5
authorPavel Dovgalyuk <pavel.dovgaluk@gmail.com>
Thu, 19 Dec 2019 12:46:28 +0000 (19 15:46 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Jan 2020 11:08:39 +0000 (7 12:08 +0100)
tree05837cc9d27ed18acf5cdc45d6bc9ad406e72131
parent3817261eb9e763cb2e71649201c7ec0823858f0c
replay: check other timers for icount limit

Record/replay can stall when there are no virtual devices that generate
events - it just uses all the time for vCPU thread. Therefore main loop
has to wait too much for the vCPU thread, because they are synchronized
in rr mode.
This patch does not let creating too long vCPU executions without
interrupting to main loop. It checks realtime timers that always exits
to control user input.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Message-Id: <157675958855.14346.18049977447896411847.stgit@pasha-Precision-3630-Tower>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c