summaryrefslogtreecommitdiffstats
path: root/replay
diff options
context:
space:
mode:
authorPavel Dovgalyuk2015-09-17 18:23:37 +0200
committerPaolo Bonzini2015-11-05 12:19:08 +0100
commitd73abd6dcc105fb5cacc34716046fca63132a264 (patch)
tree5e758703348653fff4467ee923b44caedec0fd66 /replay
parentMerge remote-tracking branch 'remotes/juanquintela/tags/migration/20151104' i... (diff)
downloadqemu-d73abd6dcc105fb5cacc34716046fca63132a264.tar.gz
qemu-d73abd6dcc105fb5cacc34716046fca63132a264.tar.xz
qemu-d73abd6dcc105fb5cacc34716046fca63132a264.zip
replay: global variables and function stubs
This patch adds global variables, defines, function declarations, and function stubs for deterministic VM replay used by external modules. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Message-Id: <20150917162337.8676.41538.stgit@PASHA-ISP.def.inno> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'replay')
-rw-r--r--replay/Makefile.objs1
-rw-r--r--replay/replay.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/replay/Makefile.objs b/replay/Makefile.objs
new file mode 100644
index 0000000000..d3f22c8cec
--- /dev/null
+++ b/replay/Makefile.objs
@@ -0,0 +1 @@
+common-obj-y += replay.o
diff --git a/replay/replay.c b/replay/replay.c
new file mode 100644
index 0000000000..a0ef04f822
--- /dev/null
+++ b/replay/replay.c
@@ -0,0 +1,14 @@
+/*
+ * replay.c
+ *
+ * Copyright (c) 2010-2015 Institute for System Programming
+ * of the Russian Academy of Sciences.
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ *
+ */
+
+#include "sysemu/replay.h"
+
+ReplayMode replay_mode = REPLAY_MODE_NONE;