• P
    replay: ptimer · 8a354bd9
    Pavel Dovgalyuk 提交于
    This patch adds deterministic replay for hardware periodic countdown timers.
    ptimer uses bottom halves layer to execute such an asynchronous callback.
    We put this callback into the replay queue instead of bottom halves one.
    When checkpoint is met by main loop thread, the replay queue is processed
    and callback is executed. Binding callback moment to one of the checkpoints
    makes it deterministic.
    Signed-off-by: NPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
    Message-Id: <20150917162456.8676.83366.stgit@PASHA-ISP.def.inno>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: NPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
    8a354bd9
replay-internal.h 3.7 KB