fred.kon...@greensocs.com writes: > From: KONRAD Frederic <fred.kon...@greensocs.com> > > This makes qemu_cpu_kick_thread public. > > Signed-off-by: KONRAD Frederic <fred.kon...@greensocs.com> > --- > cpus.c | 2 +- > include/sysemu/cpus.h | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/cpus.c b/cpus.c > index 08267ed..5f13d73 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -1067,7 +1067,7 @@ static void *qemu_tcg_cpu_thread_fn(void *arg) > return NULL; > } > > -static void qemu_cpu_kick_thread(CPUState *cpu) > +void qemu_cpu_kick_thread(CPUState *cpu) > { > #ifndef _WIN32 > int err; > diff --git a/include/sysemu/cpus.h b/include/sysemu/cpus.h > index 3f162a9..4f95b72 100644 > --- a/include/sysemu/cpus.h > +++ b/include/sysemu/cpus.h > @@ -6,6 +6,7 @@ void qemu_init_cpu_loop(void); > void resume_all_vcpus(void); > void pause_all_vcpus(void); > void cpu_stop_current(void); > +void qemu_cpu_kick_thread(CPUState *cpu);
Again I couldn't see use outside of cpus.c which could be solved by putting the declaration at the top. > > void cpu_synchronize_all_states(void); > void cpu_synchronize_all_post_reset(void); -- Alex Bennée