On 3/4/21 7:15 AM, Thomas Huth wrote:
> On 02/03/2021 11.27, Philippe Mathieu-Daudé wrote:
>> We can only check if a vCPU has work with TCG.
>> Restrict the has_work() handler to TCG by moving it to
>> the TCGCPUOps structure, and adapt all the targets.
>>
>> Signed-off-by: Philippe Mathieu-Daudé
On 02/03/2021 11.27, Philippe Mathieu-Daudé wrote:
We can only check if a vCPU has work with TCG.
Restrict the has_work() handler to TCG by moving it to
the TCGCPUOps structure, and adapt all the targets.
Signed-off-by: Philippe Mathieu-Daudé
---
RFC: PPC target incomplete
---
[...]
diff --gi
bson
> ; Sagar Karandikar
> ; Guan Xuetao ; Max
> Filippov ; Aurelien Jarno
> Subject: [RFC PATCH 6/7] cpu: Move CPUClass::has_work() to TCGCPUOps
>
> diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c
> index b0b3040dd13..d597fe12cdf 100644
> --- a/target/hexagon/cpu.c
We can only check if a vCPU has work with TCG.
Restrict the has_work() handler to TCG by moving it to
the TCGCPUOps structure, and adapt all the targets.
Signed-off-by: Philippe Mathieu-Daudé
---
RFC: PPC target incomplete
---
include/hw/core/cpu.h | 2 --
include/hw/core/tcg-cpu-ops.h