diff options
| author | Pavel Dovgalyuk | 2015-09-17 18:25:07 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2015-11-06 10:16:03 +0100 |
| commit | 7615936ebf4e60c4565268a30df2356c841526f8 (patch) | |
| tree | dfabb8259e1043afca4312d37cbd5c6ef6b06178 /exec.c | |
| parent | replay: ptimer (diff) | |
| download | qemu-7615936ebf4e60c4565268a30df2356c841526f8.tar.gz qemu-7615936ebf4e60c4565268a30df2356c841526f8.tar.xz qemu-7615936ebf4e60c4565268a30df2356c841526f8.zip | |
replay: initialization and deinitialization
This patch introduces the functions for enabling the record/replay and for
freeing the resources when simulator closes.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20150917162507.8676.90232.stgit@PASHA-ISP.def.inno>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Diffstat (limited to 'exec.c')
| -rw-r--r-- | exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -50,6 +50,7 @@ #include "qemu/rcu_queue.h" #include "qemu/main-loop.h" #include "translate-all.h" +#include "sysemu/replay.h" #include "exec/memory-internal.h" #include "exec/ram_addr.h" @@ -882,6 +883,7 @@ void cpu_abort(CPUState *cpu, const char *fmt, ...) } va_end(ap2); va_end(ap); + replay_finish(); #if defined(CONFIG_USER_ONLY) { struct sigaction act; |
