diff options
author | 2014-11-26 13:38:52 +0300 | |
---|---|---|
committer | 2014-12-15 12:21:02 +0100 | |
commit | b4ac20b4df0d1eaa5d546ccb84751e3e97d257fd (patch) | |
tree | d49514b63bb0722ca985f4ea4298a0ffa49092ce /scripts/qapi-event.py | |
parent | scsi-disk: provide maximum transfer length (diff) | |
download | qemu-b4ac20b4df0d1eaa5d546ccb84751e3e97d257fd.tar.xz qemu-b4ac20b4df0d1eaa5d546ccb84751e3e97d257fd.zip |
cpu-exec: fix cpu_exec_nocache
In icount mode cpu_exec_nocache function is used to execute part of the
existing TB. At the end of cpu_exec_nocache newly created TB is deleted.
Sometimes io_read function needs to recompile current TB and restart TB
lookup and execution. After that tb_find_fast function finds old (bigger)
TB again. This TB cannot be executed (because icount is not big enough)
and cpu_exec_nocache is called again. Such a loop continues over and over.
This patch deletes old TB and avoids finding it in the TB cache.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-event.py')
0 files changed, 0 insertions, 0 deletions