target/arm/hvf: Mention flush_cpu_state() must run on vCPU thread
Since flush_cpu_state() calls hvf_arch_put_registers(), which must run on a vCPU, it also must. Mention it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Mads Ynddal <mads@ynddal.dk> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
1182ede151
commit
d1a0caa082
1 changed files with 1 additions and 0 deletions
|
|
@ -689,6 +689,7 @@ int hvf_arch_put_registers(CPUState *cpu)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Must be called by the owning thread */
|
||||
static void flush_cpu_state(CPUState *cpu)
|
||||
{
|
||||
if (cpu->vcpu_dirty) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue