summaryrefslogtreecommitdiffstats
path: root/include/monitor/hmp.h
diff options
context:
space:
mode:
authorPavel Dovgalyuk2020-10-03 19:13:31 +0200
committerPaolo Bonzini2020-10-06 08:34:49 +0200
commitf6baed3d1485817e812ac8b275b5b4158384c59e (patch)
tree7e9384a7acd2fea33a37e1775e8d15652619cbae /include/monitor/hmp.h
parentreplay: introduce breakpoint at the specified step (diff)
downloadqemu-f6baed3d1485817e812ac8b275b5b4158384c59e.tar.gz
qemu-f6baed3d1485817e812ac8b275b5b4158384c59e.tar.xz
qemu-f6baed3d1485817e812ac8b275b5b4158384c59e.zip
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>
Diffstat (limited to 'include/monitor/hmp.h')
-rw-r--r--include/monitor/hmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h
index 809ad638bb..ed2913fd18 100644
--- a/include/monitor/hmp.h
+++ b/include/monitor/hmp.h
@@ -132,5 +132,6 @@ void hmp_info_sev(Monitor *mon, const QDict *qdict);
void hmp_info_replay(Monitor *mon, const QDict *qdict);
void hmp_replay_break(Monitor *mon, const QDict *qdict);
void hmp_replay_delete_break(Monitor *mon, const QDict *qdict);
+void hmp_replay_seek(Monitor *mon, const QDict *qdict);
#endif