mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
replay: add missing fix for internal function
This is a fix which was missed by patch
74c0b816ad
, which added current_step
parameter to the replay_advance_current_step function.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Message-Id: <156404425561.18669.13015037579222450241.stgit@pasha-Precision-3630-Tower>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3c2d4c8aa6
commit
245429e4a0
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ void replay_mutex_unlock(void)
|
||||||
|
|
||||||
void replay_advance_current_step(uint64_t current_step)
|
void replay_advance_current_step(uint64_t current_step)
|
||||||
{
|
{
|
||||||
int diff = (int)(replay_get_current_step() - replay_state.current_step);
|
int diff = (int)(current_step - replay_state.current_step);
|
||||||
|
|
||||||
/* Time can only go forward */
|
/* Time can only go forward */
|
||||||
assert(diff >= 0);
|
assert(diff >= 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue