Re: [Qemu-devel] [RFC 19/48] translate-all: notify plugin code of tb_flush

2018-11-26 Thread Emilio G. Cota
On Mon, Nov 26, 2018 at 11:02:24 +, Alex Bennée wrote: > Emilio G. Cota writes: > > On Fri, Nov 23, 2018 at 17:00:59 +, Alex Bennée wrote: > >> What is the purpose of letting the plugin know a flush has occurred? > > > > Plugins might allocate per-TB data that then they get passed each > >

Re: [Qemu-devel] [RFC 19/48] translate-all: notify plugin code of tb_flush

2018-11-26 Thread Alex Bennée
Emilio G. Cota writes: > On Fri, Nov 23, 2018 at 17:00:59 +, Alex Bennée wrote: >> >> Emilio G. Cota writes: >> >> > Signed-off-by: Emilio G. Cota >> > --- >> > accel/tcg/translate-all.c | 6 ++ >> > 1 file changed, 6 insertions(+) >> > >> > diff --git a/accel/tcg/translate-all.c b/a

Re: [Qemu-devel] [RFC 19/48] translate-all: notify plugin code of tb_flush

2018-11-23 Thread Emilio G. Cota
On Fri, Nov 23, 2018 at 17:00:59 +, Alex Bennée wrote: > > Emilio G. Cota writes: > > > Signed-off-by: Emilio G. Cota > > --- > > accel/tcg/translate-all.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c > > index 3

Re: [Qemu-devel] [RFC 19/48] translate-all: notify plugin code of tb_flush

2018-11-23 Thread Alex Bennée
Emilio G. Cota writes: > Signed-off-by: Emilio G. Cota > --- > accel/tcg/translate-all.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c > index 3423cf74db..1690e3fd5b 100644 > --- a/accel/tcg/translate-all.c > +++ b/accel/t

[Qemu-devel] [RFC 19/48] translate-all: notify plugin code of tb_flush

2018-10-25 Thread Emilio G. Cota
Signed-off-by: Emilio G. Cota --- accel/tcg/translate-all.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 3423cf74db..1690e3fd5b 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -1233,6 +1233,8 @@ sta