Re: [Qemu-devel] [RFC PATCH v4 11/25] cpu-exec: allow temporary disabling icount

2014-11-17 Thread Pavel Dovgaluk
> From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > On 07/11/2014 11:32, Pavel Dovgalyuk wrote: > > cpu_restore_state_from_tb(cpu, tb, retaddr); > > +/* tb could be temporary, generated by exec nocache */ > > +tb_phys_invalidate(tb, -1); >

Re: [Qemu-devel] [RFC PATCH v4 11/25] cpu-exec: allow temporary disabling icount

2014-11-13 Thread Paolo Bonzini
On 07/11/2014 11:32, Pavel Dovgalyuk wrote: > cpu_restore_state_from_tb(cpu, tb, retaddr); > +/* tb could be temporary, generated by exec nocache */ > +tb_phys_invalidate(tb, -1); Would you need to do the same sequence as cpu_exec_nocache in this case? cpu->current_

Re: [Qemu-devel] [RFC PATCH v4 11/25] cpu-exec: allow temporary disabling icount

2014-11-11 Thread Pavel Dovgaluk
> From: Paolo Bonzini [mailto:pbonz...@redhat.com] > On 07/11/2014 11:32, Pavel Dovgalyuk wrote: > > This patch is required for deterministic replay to generate an exception > > by trying executing an instruction without changing icount. > > It adds new flag to TB for disabling icount while transla

Re: [Qemu-devel] [RFC PATCH v4 11/25] cpu-exec: allow temporary disabling icount

2014-11-07 Thread Paolo Bonzini
On 07/11/2014 11:32, Pavel Dovgalyuk wrote: > This patch is required for deterministic replay to generate an exception > by trying executing an instruction without changing icount. > It adds new flag to TB for disabling icount while translating it. > > Signed-off-by: Pavel Dovgalyuk > --- > cp

[Qemu-devel] [RFC PATCH v4 11/25] cpu-exec: allow temporary disabling icount

2014-11-07 Thread Pavel Dovgalyuk
This patch is required for deterministic replay to generate an exception by trying executing an instruction without changing icount. It adds new flag to TB for disabling icount while translating it. Signed-off-by: Pavel Dovgalyuk --- cpu-exec.c |6 +++--- include/exec/exec-all.h