|
From: | Richard Henderson |
Subject: | Re: [PATCH 15/22] exec/cpu: Introduce CPUClass::verify_accel_features() |
Date: | Fri, 29 Sep 2023 14:22:37 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
On 9/18/23 09:02, Philippe Mathieu-Daudé wrote:
Some CPUs need to check the requested features are compatible with the requested accelerator. This has to be done*before* the accelerator realizes a vCPU. Introduce the verify_accel_features() handler and call it just before accel_cpu_realizefn(). Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- include/hw/core/cpu.h | 4 ++++ cpu.c | 5 +++++ 2 files changed, 9 insertions(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |