qemu-devel
[Top][All Lists]
Advanced

[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~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]