replay: introduce info hmp/qmp command
commite3b09ad2b6e9b23ebc7c2ba133e8a22e53dec301
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Sat, 3 Oct 2020 17:13:20 +0000 (3 20:13 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Oct 2020 06:34:49 +0000 (6 08:34 +0200)
tree94ae7e34cbfceefdc1e9a603872f280bc59ed005
parent43d7e1d782e7bab6548eb7e143a75122c8ba96c3
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>
hmp-commands-info.hx
include/monitor/hmp.h
qapi/block-core.json
qapi/replay.json
replay/meson.build
replay/replay-debugging.c [new file with mode: 0644]