summaryrefslogtreecommitdiffstats
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorPavel Dovgalyuk2015-09-17 18:24:05 +0200
committerPaolo Bonzini2015-11-05 12:19:09 +0100
commit8b42704441865611a5ee241ac9fc5cabc47a079b (patch)
tree1aeab041d26c9f2807ebde66add739e2ade91654 /cpu-exec.c
parentcpu-exec: allow temporary disabling icount (diff)
downloadqemu-8b42704441865611a5ee241ac9fc5cabc47a079b.tar.gz
qemu-8b42704441865611a5ee241ac9fc5cabc47a079b.tar.xz
qemu-8b42704441865611a5ee241ac9fc5cabc47a079b.zip
cpu: replay instructions sequence
This patch adds calls to replay functions into the icount setup block. In record mode number of executed instructions is written to the log. In replay mode number of istructions to execute is taken from the replay log. When replayed instructions counter is expired qemu_notify_event() function is called to wake up the iothread. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Message-Id: <20150917162405.8676.31890.stgit@PASHA-ISP.def.inno> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions