Re: [Qemu-devel] [RFC 22/48] cpu: hook plugin vcpu events

2018-11-26 Thread Emilio G. Cota
On Mon, Nov 26, 2018 at 11:17:27 +, Alex Bennée wrote: > > Emilio G. Cota writes: > > > On Fri, Nov 23, 2018 at 17:10:53 +, Alex Bennée wrote: > >> Emilio G. Cota writes: > > (snip) > >> > @@ -1322,12 +1323,21 @@ static void qemu_tcg_rr_wait_io_event(CPUState > >> > *cpu) > >> > > >> >

Re: [Qemu-devel] [RFC 22/48] cpu: hook plugin vcpu events

2018-11-26 Thread Alex Bennée
Emilio G. Cota writes: > On Fri, Nov 23, 2018 at 17:10:53 +, Alex Bennée wrote: >> Emilio G. Cota writes: > (snip) >> > @@ -1322,12 +1323,21 @@ static void qemu_tcg_rr_wait_io_event(CPUState >> > *cpu) >> > >> > static void qemu_wait_io_event(CPUState *cpu) >> > { >> > +bool asleep

Re: [Qemu-devel] [RFC 22/48] cpu: hook plugin vcpu events

2018-11-23 Thread Emilio G. Cota
On Fri, Nov 23, 2018 at 17:10:53 +, Alex Bennée wrote: > Emilio G. Cota writes: (snip) > > @@ -1322,12 +1323,21 @@ static void qemu_tcg_rr_wait_io_event(CPUState *cpu) > > > > static void qemu_wait_io_event(CPUState *cpu) > > { > > +bool asleep = false; > > + > > slept? Changed to slep

Re: [Qemu-devel] [RFC 22/48] cpu: hook plugin vcpu events

2018-11-23 Thread Alex Bennée
Emilio G. Cota writes: > Signed-off-by: Emilio G. Cota > --- > cpus.c| 10 ++ > exec.c| 2 ++ > qom/cpu.c | 2 ++ > 3 files changed, 14 insertions(+) > > diff --git a/cpus.c b/cpus.c > index 28e39f045a..3efe89354d 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -43,6 +43,7 @@ > #

[Qemu-devel] [RFC 22/48] cpu: hook plugin vcpu events

2018-10-25 Thread Emilio G. Cota
Signed-off-by: Emilio G. Cota --- cpus.c| 10 ++ exec.c| 2 ++ qom/cpu.c | 2 ++ 3 files changed, 14 insertions(+) diff --git a/cpus.c b/cpus.c index 28e39f045a..3efe89354d 100644 --- a/cpus.c +++ b/cpus.c @@ -43,6 +43,7 @@ #include "exec/exec-all.h" #include "qemu/thread.h