On Fri, Oct 20, 2017 at 16:19:55 -0700, Richard Henderson wrote: > We were generating code during tb_invalidate_phys_page_range, > check_watchpoint, cpu_io_recompile, and (seemingly) discarding > the TB, assuming that it would magically be picked up during > the next iteration through the cpu_exec loop. > > Instead, record the desired cflags in CPUState so that we request > the proper TB so that there is no more magic. > > Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Emilio G. Cota <[email protected]> This does indeed fix icount with and without MTTCG. Nice! E.
