[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH V6 11/18] cpus: make qemu_cpu_kick_thread pu
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [RFC PATCH V6 11/18] cpus: make qemu_cpu_kick_thread public. |
Date: |
Tue, 07 Jul 2015 16:11:06 +0100 |
address@hidden writes:
> From: KONRAD Frederic <address@hidden>
>
> This makes qemu_cpu_kick_thread public.
>
> Signed-off-by: KONRAD Frederic <address@hidden>
> ---
> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RFC PATCH V6 11/18] cpus: make qemu_cpu_kick_thread public.,
Alex Bennée <=