[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [for-4.2 PATCH v2 1/8] replay: add missing fix for internal
From: |
Pavel Dovgalyuk |
Subject: |
[Qemu-devel] [for-4.2 PATCH v2 1/8] replay: add missing fix for internal function |
Date: |
Thu, 25 Jul 2019 11:44:15 +0300 |
User-agent: |
StGit/0.17.1-dirty |
From: address@hidden <address@hidden>
This is a fix which was missed by patch
74c0b816adfc6aa1b01b4426fdf385e32e35cbac, which added current_step
parameter to the replay_advance_current_step function.
Signed-off-by: Pavel Dovgalyuk <address@hidden>
---
replay/replay-internal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/replay/replay-internal.c b/replay/replay-internal.c
index 9e41ed1dcf..979f3a0b39 100644
--- a/replay/replay-internal.c
+++ b/replay/replay-internal.c
@@ -228,7 +228,7 @@ void replay_mutex_unlock(void)
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 */
assert(diff >= 0);
- [Qemu-devel] [for-4.2 PATCH v2 0/8] Some record/replay fixes, Pavel Dovgalyuk, 2019/07/25
- [Qemu-devel] [for-4.2 PATCH v2 1/8] replay: add missing fix for internal function,
Pavel Dovgalyuk <=
- [Qemu-devel] [for-4.2 PATCH v2 2/8] replay: document development rules, Pavel Dovgalyuk, 2019/07/25
- [Qemu-devel] [for-4.2 PATCH v2 3/8] util/qemu-timer: refactor deadline calculation for external timers, Pavel Dovgalyuk, 2019/07/25
- [Qemu-devel] [for-4.2 PATCH v2 4/8] replay: fix replay shutdown, Pavel Dovgalyuk, 2019/07/25
- [Qemu-devel] [for-4.2 PATCH v2 5/8] replay: refine replay-time module, Pavel Dovgalyuk, 2019/07/25
- [Qemu-devel] [for-4.2 PATCH v2 6/8] replay: rename step-related variables and functions, Pavel Dovgalyuk, 2019/07/25
- [Qemu-devel] [for-4.2 PATCH v2 7/8] icount: clean up cpu_can_io at the entry to the block, Pavel Dovgalyuk, 2019/07/25
- [Qemu-devel] [for-4.2 PATCH v2 8/8] icount: remove unnecessary gen_io_end calls, Pavel Dovgalyuk, 2019/07/25