Message ID | 20230929085121.848482-4-pavel.dovgalyuk@ispras.ru |
---|---|
State | New |
Headers | show |
Series | Record/replay patches | expand |
diff --git a/replay/replay-snapshot.c b/replay/replay-snapshot.c index 10a7cf7992..1e32ada1f6 100644 --- a/replay/replay-snapshot.c +++ b/replay/replay-snapshot.c @@ -75,6 +75,7 @@ void replay_vmstate_init(void) if (replay_snapshot) { if (replay_mode == REPLAY_MODE_RECORD) { + replay_state.current_icount = replay_get_current_icount(); if (!save_snapshot(replay_snapshot, true, NULL, false, NULL, &err)) { error_report_err(err);