qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 30/30] accel: Add missing AccelOpsClass::has_work() and dr


From: Richard Henderson
Subject: Re: [PATCH v3 30/30] accel: Add missing AccelOpsClass::has_work() and drop SysemuCPUOps one
Date: Fri, 3 Sep 2021 22:48:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/3/21 8:19 PM, Philippe Mathieu-Daudé wrote:
cpu_common_has_work() is the default has_work() implementation
and returns 'false'.

Explicit it for the QTest / HAX / HVF / NVMM / Xen accelerators
and remove cpu_common_has_work().

Since there are no more implementations of SysemuCPUOps::has_work,
remove it along with the assertion in cpu_has_work().

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  include/hw/core/cpu.h             | 2 --
  accel/hvf/hvf-accel-ops.c         | 6 ++++++
  accel/qtest/qtest.c               | 6 ++++++
  accel/xen/xen-all.c               | 6 ++++++
  hw/core/cpu-common.c              | 6 ------
  softmmu/cpus.c                    | 9 ++-------
  target/i386/hax/hax-accel-ops.c   | 6 ++++++
  target/i386/nvmm/nvmm-accel-ops.c | 6 ++++++
  8 files changed, 32 insertions(+), 15 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]