Re: [Qemu-devel] [PATCH] tcg: fix cpu_io_recompile

2018-03-18 Thread Philippe Mathieu-Daudé
On 03/16/2018 04:53 PM, Richard Henderson wrote: > We have confused the number of instructions that have been > executed in the TB with the number of instructions needed > to repeat the I/O instruction. > > We have used cpu_restore_state_from_tb, which means that > the guest pc is pointing to the

[Qemu-devel] [PATCH] tcg: fix cpu_io_recompile

2018-03-16 Thread Richard Henderson
We have confused the number of instructions that have been executed in the TB with the number of instructions needed to repeat the I/O instruction. We have used cpu_restore_state_from_tb, which means that the guest pc is pointing to the I/O instruction. The only time the answer to the later quest