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

Re: [PATCH v4 58/65] accel: Always register AccelOpsClass::get_elapsed_ticks() handler



On 7/2/25 11:53 AM, Philippe Mathieu-Daudé wrote:
In order to dispatch over AccelOpsClass::get_elapsed_ticks(),
we need it always defined, not calling a hidden handler under
the hood. Make AccelOpsClass::get_elapsed_ticks() mandatory.
Register the default cpus_kick_thread() for each accelerator.

Missing a replace when copied from previous description.


Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
---
  include/system/accel-ops.h        | 1 +
  accel/hvf/hvf-accel-ops.c         | 2 ++
  accel/kvm/kvm-accel-ops.c         | 3 +++
  accel/qtest/qtest.c               | 2 ++
  accel/tcg/tcg-accel-ops.c         | 3 +++
  accel/xen/xen-all.c               | 2 ++
  system/cpus.c                     | 6 ++----
  target/i386/nvmm/nvmm-accel-ops.c | 3 +++
  target/i386/whpx/whpx-accel-ops.c | 3 +++
  9 files changed, 21 insertions(+), 4 deletions(-)

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@xxxxxxxxxx>




 


Rackspace

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