diff options
author | Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> | 2020-10-03 20:13:20 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-06 08:34:49 +0200 |
commit | e3b09ad2b6e9b23ebc7c2ba133e8a22e53dec301 (patch) | |
tree | 94ae7e34cbfceefdc1e9a603872f280bc59ed005 /include/monitor | |
parent | 43d7e1d782e7bab6548eb7e143a75122c8ba96c3 (diff) | |
download | qemu-e3b09ad2b6e9b23ebc7c2ba133e8a22e53dec301.zip qemu-e3b09ad2b6e9b23ebc7c2ba133e8a22e53dec301.tar.gz qemu-e3b09ad2b6e9b23ebc7c2ba133e8a22e53dec301.tar.bz2 |
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>
Diffstat (limited to 'include/monitor')
-rw-r--r-- | include/monitor/hmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h index 642e9e9..f297fcc 100644 --- a/include/monitor/hmp.h +++ b/include/monitor/hmp.h @@ -129,5 +129,6 @@ void hmp_hotpluggable_cpus(Monitor *mon, const QDict *qdict); void hmp_info_vm_generation_id(Monitor *mon, const QDict *qdict); void hmp_info_memory_size_summary(Monitor *mon, const QDict *qdict); void hmp_info_sev(Monitor *mon, const QDict *qdict); +void hmp_info_replay(Monitor *mon, const QDict *qdict); #endif |