From 6f0609697f3670bf755a91477487507a8ffee471 Mon Sep 17 00:00:00 2001 From: Pavel Dovgalyuk Date: Thu, 17 Sep 2015 19:24:16 +0300 Subject: replay: interrupts and exceptions This patch includes modifications of common cpu files. All interrupts and exceptions occured during recording are written into the replay log. These events allow correct replaying the execution by kicking cpu thread when one of these events is found in the log. Signed-off-by: Pavel Dovgalyuk Message-Id: <20150917162416.8676.57647.stgit@PASHA-ISP.def.inno> Signed-off-by: Paolo Bonzini --- stubs/replay-user.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'stubs') diff --git a/stubs/replay-user.c b/stubs/replay-user.c index 0c90bfc..cf33072 100644 --- a/stubs/replay-user.c +++ b/stubs/replay-user.c @@ -10,3 +10,23 @@ */ #include "sysemu/replay.h" + +bool replay_exception(void) +{ + return true; +} + +bool replay_has_exception(void) +{ + return false; +} + +bool replay_interrupt(void) +{ + return true; +} + +bool replay_has_interrupt(void) +{ + return false; +} -- cgit v1.1