qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/5] accel: Declare AccelClass::[un]realize_cpu() handlers


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 3/5] accel: Declare AccelClass::[un]realize_cpu() handlers
Date: Tue, 3 Oct 2023 11:44:23 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 3/10/23 10:55, Claudio Fontana wrote:
On 9/15/23 21:00, Philippe Mathieu-Daudé wrote:
Currently accel_cpu_realize() only performs target-specific
realization. Introduce the [un]realize_cpu fields in the
base AccelClass to be able to perform target-agnostic
[un]realization of vCPUs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Just thinking, for the benefit of the reader trying to understand the code 
later on,
maybe putting in a "target_" in there somewhere in the function name?
like "realize_cpu_target", vs "realize_cpu_generic" ?

Good idea, I like it, thanks!




reply via email to

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