aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>2015-09-17 19:23:37 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-11-05 12:19:08 +0100
commitd73abd6dcc105fb5cacc34716046fca63132a264 (patch)
tree5e758703348653fff4467ee923b44caedec0fd66 /qapi-schema.json
parent6c5f30cad290c745f910481d0e890b3f4fad1f00 (diff)
downloadqemu-d73abd6dcc105fb5cacc34716046fca63132a264.zip
qemu-d73abd6dcc105fb5cacc34716046fca63132a264.tar.gz
qemu-d73abd6dcc105fb5cacc34716046fca63132a264.tar.bz2
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 'qapi-schema.json')
-rw-r--r--qapi-schema.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 702b7b5..e18f14c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3876,3 +3876,21 @@
# Rocker ethernet network switch
{ 'include': 'qapi/rocker.json' }
+
+##
+# ReplayMode:
+#
+# Mode of the replay subsystem.
+#
+# @none: normal execution mode. Replay or record are not enabled.
+#
+# @record: record mode. All non-deterministic data is written into the
+# replay log.
+#
+# @play: replay mode. Non-deterministic data required for system execution
+# is read from the log.
+#
+# Since: 2.5
+##
+{ 'enum': 'ReplayMode',
+ 'data': [ 'none', 'record', 'play' ] }