mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
replay: introduce info hmp/qmp command
This patch introduces 'info replay' monitor command and corresponding qmp request. These commands request the current record/replay mode, replay log file name, and the instruction count (number of recorded/replayed instructions). The instruction count can be used with the replay_seek/replay_break commands added in the next two patches. Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Acked-by: Markus Armbruster <armbru@redhat.com> Message-Id: <160174520026.12451.13112161947433306561.stgit@pasha-ThinkPad-X280> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
43d7e1d782
commit
e3b09ad2b6
6 changed files with 97 additions and 1 deletions
|
@ -881,4 +881,15 @@ SRST
|
|||
Show SEV information.
|
||||
ERST
|
||||
|
||||
{
|
||||
.name = "replay",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show record/replay information",
|
||||
.cmd = hmp_info_replay,
|
||||
},
|
||||
|
||||
SRST
|
||||
``info replay``
|
||||
Display the record/replay information: mode and the current icount.
|
||||
ERST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue