-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qapi: introduce replay.json for record/replay-related stuff
This patch adds replay.json file. It will be used for adding record/replay-related data structures and commands. Signed-off-by: Pavel Dovgalyuk <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Message-Id: <160174519444.12451.3472949430004845434.stgit@pasha-ThinkPad-X280> Signed-off-by: Paolo Bonzini <[email protected]>
- Loading branch information
Showing
6 changed files
with
30 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2696,6 +2696,7 @@ F: include/sysemu/replay.h | |
F: docs/replay.txt | ||
F: stubs/replay.c | ||
F: tests/acceptance/replay_kernel.py | ||
F: qapi/replay.json | ||
|
||
IOVA Tree | ||
M: Peter Xu <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ qapi_all_modules = [ | |
'pci', | ||
'qom', | ||
'rdma', | ||
'replay', | ||
'rocker', | ||
'run-state', | ||
'sockets', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- Mode: Python -*- | ||
# | ||
|
||
## | ||
# = Record/replay | ||
## | ||
|
||
{ 'include': 'common.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' ] } |