replay: implement replay-seek command
commitf6baed3d1485817e812ac8b275b5b4158384c59e
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Sat, 3 Oct 2020 17:13:31 +0000 (3 20:13 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Oct 2020 06:34:49 +0000 (6 08:34 +0200)
tree7e9384a7acd2fea33a37e1775e8d15652619cbae
parente751067179e18178d0f0ab5955b95d59e2a081de
replay: implement replay-seek command

This patch adds hmp/qmp commands replay_seek/replay-seek that proceed
the execution to the specified instruction count.
The command automatically loads nearest snapshot and replays the execution
to find the desired instruction count.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Acked-by: Markus Armbruster <armbru@redhat.com>
--

v4 changes:
 - fixed HMP command description indent
 - removed useless error_free call
Message-Id: <160174521180.12451.14033112911009278753.stgit@pasha-ThinkPad-X280>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hmp-commands.hx
include/monitor/hmp.h
qapi/replay.json
replay/replay-debugging.c