Re: [PATCH 28/28] cpus: Remove CPUClass::has_work() handler

2025-01-24 Thread Richard Henderson
On 1/21/25 06:23, Philippe Mathieu-Daudé wrote: diff --git a/hw/core/cpu-system.c b/hw/core/cpu-system.c index 7b16bda2250..7f287984aa6 100644 --- a/hw/core/cpu-system.c +++ b/hw/core/cpu-system.c @@ -25,12 +25,8 @@ bool cpu_has_work(CPUState *cpu) { -if (cpu->cc->sysemu_ops->has_work

[PATCH 28/28] cpus: Remove CPUClass::has_work() handler

2025-01-21 Thread Philippe Mathieu-Daudé
All handlers have been converted to SysemuCPUOps::has_work(). Remove CPUClass::has_work along with cpu_common_has_work() and simplify cpu_has_work(), asserting SysemuCPUOps::has_work is always registered. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/core/cpu.h | 2 -- hw/core/cpu-common.