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

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



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@xxxxxxxxx>
---
  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@xxxxxxxxxx>

r~



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.