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>
Showing
- hmp-commands-info.hx 11 additions, 0 deletionshmp-commands-info.hx
- include/monitor/hmp.h 1 addition, 0 deletionsinclude/monitor/hmp.h
- qapi/block-core.json 2 additions, 1 deletionqapi/block-core.json
- qapi/replay.json 39 additions, 0 deletionsqapi/replay.json
- replay/meson.build 1 addition, 0 deletionsreplay/meson.build
- replay/replay-debugging.c 43 additions, 0 deletionsreplay/replay-debugging.c
Loading
Please register or sign in to comment