[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v22 03/17] accel: introduce new accessor functions
From: |
Richard Henderson |
Subject: |
Re: [PATCH v22 03/17] accel: introduce new accessor functions |
Date: |
Wed, 24 Feb 2021 17:26:19 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 2/24/21 5:34 AM, Claudio Fontana wrote:
> avoid open coding the accesses to cpu->accel_cpu interfaces,
> and instead introduce:
>
> accel_cpu_instance_init,
> accel_cpu_realizefn
>
> to be used by the targets/ initfn code,
> and by cpu_exec_realizefn respectively.
>
> Signed-off-by: Claudio Fontana <cfontana@suse.de>
> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> include/qemu/accel.h | 13 +++++++++++++
> accel/accel-common.c | 19 +++++++++++++++++++
> cpu.c | 6 +-----
> target/i386/cpu.c | 9 ++-------
> 4 files changed, 35 insertions(+), 12 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- [PATCH v22 00/17] i386 cleanup PART 2, Claudio Fontana, 2021/02/24
- [PATCH v22 02/17] cpu: call AccelCPUClass::cpu_realizefn in cpu_exec_realizefn, Claudio Fontana, 2021/02/24
- [PATCH v22 04/17] target/i386: fix host_cpu_adjust_phys_bits error handling, Claudio Fontana, 2021/02/24
- [PATCH v22 03/17] accel: introduce new accessor functions, Claudio Fontana, 2021/02/24
- Re: [PATCH v22 03/17] accel: introduce new accessor functions,
Richard Henderson <=
- [PATCH v22 01/17] i386: split cpu accelerators from cpu.c, using AccelCPUClass, Claudio Fontana, 2021/02/24
- [PATCH v22 07/17] i386: split off sysemu-only functionality in tcg-cpu, Claudio Fontana, 2021/02/24
- [PATCH v22 05/17] accel-cpu: make cpu_realizefn return a bool, Claudio Fontana, 2021/02/24
- [PATCH v22 08/17] i386: split smm helper (sysemu), Claudio Fontana, 2021/02/24
- [PATCH v22 06/17] meson: add target_user_arch, Claudio Fontana, 2021/02/24