Skip to content
  • Pavel Dovgalyuk's avatar
    7cebff0d
    replay: fix recursive checkpoints · 7cebff0d
    Pavel Dovgalyuk authored
    
    
    Record/replay uses checkpoints to synchronize the execution
    of the threads and timers. Hardware events such as BH are
    processed at the checkpoints too.
    Event processing can cause refreshing the virtual timers
    and calling the icount-related functions, that also use checkpoints.
    This patch prevents recursive processing of such checkpoints,
    because they have their own records in the log and should be
    processed later.
    
    Signed-off-by: default avatarPavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
    Message-Id: <161700476500.1140362.10108444973730452257.stgit@pasha-ThinkPad-X280>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    7cebff0d
    replay: fix recursive checkpoints
    Pavel Dovgalyuk authored
    
    
    Record/replay uses checkpoints to synchronize the execution
    of the threads and timers. Hardware events such as BH are
    processed at the checkpoints too.
    Event processing can cause refreshing the virtual timers
    and calling the icount-related functions, that also use checkpoints.
    This patch prevents recursive processing of such checkpoints,
    because they have their own records in the log and should be
    processed later.
    
    Signed-off-by: default avatarPavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
    Message-Id: <161700476500.1140362.10108444973730452257.stgit@pasha-ThinkPad-X280>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading