From 74c0b816adfc6aa1b01b4426fdf385e32e35cbac Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 8 Oct 2018 13:24:14 +0200 Subject: replay: pass raw icount value to replay_save_clock This avoids lock recursion when REPLAY_CLOCK is called inside the timers spinlock. Signed-off-by: Paolo Bonzini --- stubs/replay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stubs/replay.c') diff --git a/stubs/replay.c b/stubs/replay.c index 04279abb2c..4ac607895d 100644 --- a/stubs/replay.c +++ b/stubs/replay.c @@ -4,7 +4,7 @@ ReplayMode replay_mode; -int64_t replay_save_clock(unsigned int kind, int64_t clock) +int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount) { abort(); return 0; -- cgit v1.2.3