Mads Ynddal <[email protected]> writes:

> From: Mads Ynddal <[email protected]>
>
> hvf_arch_set_traps is already called from a context of a specific
> CPUState, so we don't need to do a nested CPU_FOREACH.
>
> It also results in an error from hv_vcpu_set_sys_reg, as it may only be
> called from the thread owning the vCPU.
>
> Tested-by: Daniel Gomez <[email protected]>
> Signed-off-by: Mads Ynddal <[email protected]>

Looks reasonable to me:

Reviewed-by: Alex Bennée <[email protected]>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to