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

Re: [PATCH v6 38/39] accel: Extract AccelClass definition to 'accel/accel-ops.h'



On 7/3/25 11:32, Philippe Mathieu-Daudé wrote:
Only accelerator implementations (and the common accelator
code) need to know about AccelClass internals. Move the
definition out but forward declare AccelState and AccelClass.

Signed-off-by: Philippe Mathieu-Daudé<philmd@xxxxxxxxxx>
---
  MAINTAINERS                 |  2 +-
  include/accel/accel-ops.h   | 50 +++++++++++++++++++++++++++++++++++++
  include/qemu/accel.h        | 40 ++---------------------------
  include/system/hvf_int.h    |  3 ++-
  include/system/kvm_int.h    |  1 +
  accel/accel-common.c        |  1 +
  accel/accel-system.c        |  1 +
  accel/hvf/hvf-all.c         |  1 +
  accel/kvm/kvm-all.c         |  1 +
  accel/qtest/qtest.c         |  1 +
  accel/tcg/tcg-accel-ops.c   |  1 +
  accel/tcg/tcg-all.c         |  1 +
  accel/xen/xen-all.c         |  1 +
  bsd-user/main.c             |  1 +
  gdbstub/system.c            |  1 +
  linux-user/main.c           |  1 +
  system/memory.c             |  1 +
  target/i386/nvmm/nvmm-all.c |  1 +
  target/i386/whpx/whpx-all.c |  1 +
  19 files changed, 70 insertions(+), 40 deletions(-)
  create mode 100644 include/accel/accel-ops.h

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®.