Re: [RFC PATCH v2 0/8] cpu: Move CPUClass::has_work() to TCGCPUOps

2021-03-13 Thread Philippe Mathieu-Daudé
Hi Richard, On 3/4/21 11:23 PM, Philippe Mathieu-Daudé wrote: > Hi, > > cpu_has_work() isn't used out of TCG, so restrict it to it. > RFC because maybe it could? > > Since v1: > - finished PPC > - check cc->tcg_ops->has_work non-null (thuth) > > Based-on:

[RFC PATCH v2 0/8] cpu: Move CPUClass::has_work() to TCGCPUOps

2021-03-04 Thread Philippe Mathieu-Daudé
Hi, cpu_has_work() isn't used out of TCG, so restrict it to it. RFC because maybe it could? Since v1: - finished PPC - check cc->tcg_ops->has_work non-null (thuth) Based-on: <20210227232519.222663-1-richard.hender...@linaro.org> Philippe Mathieu-Daudé (8): sysemu/tcg: Restrict