On Fri, 30 Oct 2026 at 07:31, Eric Auger <[email protected]> wrote:
>
> This allows to report a precise error message if any error occurs.
>
> In arm_gic_cap_kvm_probe() call path we just pass a NULL error handle
> because we don't care about the failure, reverting to emulated
> versions.
>
> Signed-off-by: Eric Auger <[email protected]>
> @@ -527,15 +537,14 @@ static bool
> kvm_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf)
> void kvm_arm_set_cpu_features_from_host(ARMCPU *cpu)
> {
> CPUARMState *env = &cpu->env;
> - static bool probe_ok;
> + static Error *probe_err;
I'm not a fan of this static variable. I'd prefer if we put the Error*
into the ARMHostCPUFeatures struct.
-- PMM