aboutsummaryrefslogtreecommitdiff
path: root/replay
diff options
context:
space:
mode:
Diffstat (limited to 'replay')
-rw-r--r--replay/replay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/replay/replay.c b/replay/replay.c
index bf94e81..ff58a5a 100644
--- a/replay/replay.c
+++ b/replay/replay.c
@@ -51,8 +51,8 @@ bool replay_next_event_is(int event)
switch (replay_state.data_kind) {
case EVENT_SHUTDOWN ... EVENT_SHUTDOWN_LAST:
replay_finish_event();
- /* TODO - pass replay_state.data_kind - EVENT_SHUTDOWN as cause */
- qemu_system_shutdown_request();
+ qemu_system_shutdown_request(replay_state.data_kind -
+ EVENT_SHUTDOWN);
break;
default:
/* clock, time_t, checkpoint and other events */