mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/arm/hvf: Mention hvf_sync_vtimer() must run on vCPU thread
Since hvf_sync_vtimer() calls hv_vcpu_get_sys_reg(), which must run on a vCPU, it also must. Mention it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Mads Ynddal <mads@ynddal.dk> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
a641384325
commit
30d277f2cd
@@ -1764,6 +1764,7 @@ static void hvf_wfi(CPUState *cpu)
|
||||
hvf_wait_for_ipi(cpu, &ts);
|
||||
}
|
||||
|
||||
/* Must be called by the owning thread */
|
||||
static void hvf_sync_vtimer(CPUState *cpu)
|
||||
{
|
||||
ARMCPU *arm_cpu = ARM_CPU(cpu);
|
||||
|
||||
Reference in New Issue
Block a user