qemu/accel/tcg
Pavel Dovgalyuk ba3e792669 icount: clean up cpu_can_io at the entry to the block
Most of IO instructions can be executed only at the end of the block in
icount mode. Therefore translator can set cpu_can_io flag when translating
the last instruction.
But when the blocks are chained, then this flag is not reset and may
remain set at the beginning of the next block.
This patch resets the flag at the entry of any translation block,
making I/O operations impossible by default.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>

--

v2 changes:
 - reset can_do_io at the start of every TB (suggested by Paolo Bonzini)
Message-Id: <156404428943.18669.15747009371169578935.stgit@pasha-Precision-3630-Tower>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-08-20 17:26:22 +02:00
..
atomic_template.h cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
cpu-exec-common.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
cpu-exec.c icount: clean up cpu_can_io at the entry to the block 2019-08-20 17:26:22 +02:00
cputlb.c cputlb: cast size_t to target_ulong before using for address masks 2019-06-12 17:53:23 +01:00
Makefile.objs tcg: Add generic vector expanders 2018-02-08 15:54:05 +00:00
tcg-all.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
tcg-runtime-gvec.c tcg: Fix typos in helper_gvec_sar{8,32,64}v 2019-06-12 21:08:38 -07:00
tcg-runtime.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
tcg-runtime.h tcg: Add support for vector bitwise select 2019-05-22 15:09:43 -04:00
trace-events trace-events: Consistently point to docs/devel/tracing.txt 2019-03-22 16:17:37 +00:00
translate-all.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
translate-all.h tcg: Fix LGPL version number 2019-01-30 11:01:52 +01:00
translator.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
user-exec-stub.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
user-exec.c tcg: Release mmap_lock on translation fault 2019-07-14 12:19:01 +02:00