Re: [RFC PATCH] softmmu: Fix async_run_on_cpu() use in tcg_commit_cpu()

2023-09-08 Thread Philippe Mathieu-Daudé
On 7/9/23 21:36, Philippe Mathieu-Daudé wrote: On 7/9/23 18:28, Richard Henderson wrote: On 9/7/23 09:14, Philippe Mathieu-Daudé wrote: CPUState::halt_cond is an accelerator specific pointer, used in particular by TCG (which tcg_commit() is about). The pointer is set by the AccelOpsClass::creat

Re: [RFC PATCH] softmmu: Fix async_run_on_cpu() use in tcg_commit_cpu()

2023-09-07 Thread Philippe Mathieu-Daudé
On 7/9/23 18:28, Richard Henderson wrote: On 9/7/23 09:14, Philippe Mathieu-Daudé wrote: CPUState::halt_cond is an accelerator specific pointer, used in particular by TCG (which tcg_commit() is about). The pointer is set by the AccelOpsClass::create_vcpu_thread() handler. AccelOpsClass::create_v

Re: [RFC PATCH] softmmu: Fix async_run_on_cpu() use in tcg_commit_cpu()

2023-09-07 Thread Richard Henderson
On 9/7/23 09:14, Philippe Mathieu-Daudé wrote: CPUState::halt_cond is an accelerator specific pointer, used in particular by TCG (which tcg_commit() is about). The pointer is set by the AccelOpsClass::create_vcpu_thread() handler. AccelOpsClass::create_vcpu_thread() is called by the generic qemu_

[RFC PATCH] softmmu: Fix async_run_on_cpu() use in tcg_commit_cpu()

2023-09-07 Thread Philippe Mathieu-Daudé
CPUState::halt_cond is an accelerator specific pointer, used in particular by TCG (which tcg_commit() is about). The pointer is set by the AccelOpsClass::create_vcpu_thread() handler. AccelOpsClass::create_vcpu_thread() is called by the generic qemu_init_vcpu(), which expect the accelerator handler