[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v9 03/32] accel/tcg: rename tcg-cpus functions to match module
From: |
Alex Bennée |
Subject: |
Re: [RFC v9 03/32] accel/tcg: rename tcg-cpus functions to match module name |
Date: |
Wed, 09 Dec 2020 09:10:38 +0000 |
User-agent: |
mu4e 1.5.7; emacs 28.0.50 |
Claudio Fontana <cfontana@suse.de> writes:
> Signed-off-by: Claudio Fontana <cfontana@suse.de>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> accel/tcg/tcg-cpus-icount.c | 24 ++++++------
> accel/tcg/tcg-cpus-icount.h | 6 +--
> accel/tcg/tcg-cpus-mttcg.c | 10 ++---
> accel/tcg/tcg-cpus-rr.c | 74 ++++++++++++++++++-------------------
> accel/tcg/tcg-cpus-rr.h | 2 +-
> accel/tcg/tcg-cpus.c | 6 +--
> accel/tcg/tcg-cpus.h | 6 +--
> 7 files changed, 64 insertions(+), 64 deletions(-)
>
> diff --git a/accel/tcg/tcg-cpus-icount.c b/accel/tcg/tcg-cpus-icount.c
> index 82dbe2cacf..9f45432275 100644
> --- a/accel/tcg/tcg-cpus-icount.c
> +++ b/accel/tcg/tcg-cpus-icount.c
> @@ -36,7 +36,7 @@
> #include "tcg-cpus-icount.h"
> #include "tcg-cpus-rr.h"
>
> -static int64_t tcg_get_icount_limit(void)
> +static int64_t icount_get_limit(void)
> {
> int64_t deadline;
>
> @@ -68,37 +68,37 @@ static int64_t tcg_get_icount_limit(void)
> }
> }
>
> -static void notify_aio_contexts(void)
> +static void icount_notify_aio_contexts(void)
> {
> /* Wake up other AioContexts. */
> qemu_clock_notify(QEMU_CLOCK_VIRTUAL);
> qemu_clock_run_timers(QEMU_CLOCK_VIRTUAL);
> }
nit: for static functions it's probably overkill but whatever...
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
- [RFC v9 00/22] i386 cleanup, Claudio Fontana, 2020/12/08
- [RFC v9 02/32] accel/tcg: split tcg_start_vcpu_thread, Claudio Fontana, 2020/12/08
- [RFC v9 03/32] accel/tcg: rename tcg-cpus functions to match module name, Claudio Fontana, 2020/12/08
- Re: [RFC v9 03/32] accel/tcg: rename tcg-cpus functions to match module name,
Alex Bennée <=
- [RFC v9 04/32] i386: move kvm accel files into kvm/, Claudio Fontana, 2020/12/08
- [RFC v9 01/32] accel/tcg: split CpusAccel into three TCG variants, Claudio Fontana, 2020/12/08
- [RFC v9 05/32] i386: move whpx accel files into whpx/, Claudio Fontana, 2020/12/08
- [RFC v9 06/32] i386: move hax accel files into hax/, Claudio Fontana, 2020/12/08
- [RFC v9 07/32] i386: hvf: remove stale MAINTAINERS entry for old hvf stubs, Claudio Fontana, 2020/12/08