qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Pierrick Bouvier" <pierrick.bouvier@linaro.org>
Subject: [RFC PATCH 00/19] accel: Preparatory cleanups for split-accel
Date: Fri,  6 Jun 2025 18:43:59 +0200	[thread overview]
Message-ID: <20250606164418.98655-1-philmd@linaro.org> (raw)

Few changes needed before being able to add the
split acceleration. Mostly adapting few prototypes
so callees have all necessary information.

Philippe Mathieu-Daudé (19):
  hw/arm/virt: Only require TCG || QTest to use virtualization extension
  system/cpus: Only kick running vCPUs
  accel: Keep reference to AccelOpsClass in AccelClass
  accel: Propagate AccelState to AccelClass::init_machine()
  accel/kvm: Prefer local AccelState over global MachineState::accel
  accel/hvf: Fix TYPE_HVF_ACCEL instance size
  accel/hvf: Re-use QOM allocated state
  accel/tcg: Prefer local AccelState over global current_accel()
  accel: Factor accel_cpu_realize() out
  accel/dummy: Factor dummy_thread_precreate() out
  accel/dummy: Factor tcg_vcpu_thread_precreate() out
  accel: Factor accel_create_vcpu_thread() out
  accel: Introduce AccelOpsClass::cpu_thread_routine handler
  accel/dummy: Convert to AccelOpsClass::cpu_thread_routine
  accel/tcg: Convert to AccelOpsClass::cpu_thread_routine
  accel/hvf: Convert to AccelOpsClass::cpu_thread_routine
  accel/kvm: Convert to AccelOpsClass::cpu_thread_routine
  accel/nvmm: Convert to AccelOpsClass::cpu_thread_routine
  accel/whpx: Convert to AccelOpsClass::cpu_thread_routine

 accel/accel-internal.h            |  2 ++
 accel/tcg/tcg-accel-ops-mttcg.h   |  3 +-
 accel/tcg/tcg-accel-ops.h         |  1 +
 include/qemu/accel.h              |  8 ++++-
 include/system/accel-ops.h        |  5 +++-
 include/system/cpus.h             |  5 ++--
 include/system/hvf_int.h          |  1 +
 accel/accel-common.c              | 49 +++++++++++++++++++++++++++++--
 accel/accel-system.c              |  5 ++--
 accel/dummy-cpus.c                | 10 ++-----
 accel/hvf/hvf-accel-ops.c         | 25 +++-------------
 accel/kvm/kvm-accel-ops.c         | 12 +-------
 accel/kvm/kvm-all.c               |  6 ++--
 accel/qtest/qtest.c               |  5 ++--
 accel/tcg/tcg-accel-ops-mttcg.c   | 17 +----------
 accel/tcg/tcg-accel-ops-rr.c      |  3 +-
 accel/tcg/tcg-accel-ops.c         | 14 +++++++--
 accel/tcg/tcg-all.c               |  4 +--
 accel/xen/xen-all.c               |  3 +-
 bsd-user/main.c                   |  2 +-
 hw/arm/virt.c                     |  2 +-
 linux-user/main.c                 |  2 +-
 system/cpus.c                     |  9 ++++--
 target/i386/nvmm/nvmm-accel-ops.c | 12 +-------
 target/i386/nvmm/nvmm-all.c       |  2 +-
 target/i386/whpx/whpx-accel-ops.c | 12 +-------
 target/i386/whpx/whpx-all.c       |  2 +-
 27 files changed, 110 insertions(+), 111 deletions(-)

-- 
2.49.0



             reply	other threads:[~2025-06-06 16:45 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-06 16:43 Philippe Mathieu-Daudé [this message]
2025-06-06 16:44 ` [RFC PATCH 01/19] hw/arm/virt: Only require TCG || QTest to use virtualization extension Philippe Mathieu-Daudé
2025-06-07 13:18   ` Richard Henderson
2025-06-11 13:37   ` Alex Bennée
2025-06-11 13:45   ` Miguel Luis
2025-06-11 14:31     ` Alex Bennée
2025-06-11 14:38       ` Miguel Luis
2025-06-06 16:44 ` [RFC PATCH 02/19] system/cpus: Only kick running vCPUs Philippe Mathieu-Daudé
2025-06-07 13:23   ` Richard Henderson
2025-06-16  8:21     ` Philippe Mathieu-Daudé
2025-06-17  9:42       ` Alex Bennée
2025-06-06 16:44 ` [RFC PATCH 03/19] accel: Keep reference to AccelOpsClass in AccelClass Philippe Mathieu-Daudé
2025-06-07 13:35   ` Richard Henderson
2025-06-11 13:42   ` Alex Bennée
2025-06-06 16:44 ` [RFC PATCH 04/19] accel: Propagate AccelState to AccelClass::init_machine() Philippe Mathieu-Daudé
2025-06-07 13:31   ` Richard Henderson
2025-06-11 13:42   ` Alex Bennée
2025-06-06 16:44 ` [RFC PATCH 05/19] accel/kvm: Prefer local AccelState over global MachineState::accel Philippe Mathieu-Daudé
2025-06-07 13:30   ` Richard Henderson
2025-06-06 16:44 ` [RFC PATCH 06/19] accel/hvf: Fix TYPE_HVF_ACCEL instance size Philippe Mathieu-Daudé
2025-06-07 13:29   ` Richard Henderson
2025-06-06 16:44 ` [RFC PATCH 07/19] accel/hvf: Re-use QOM allocated state Philippe Mathieu-Daudé
2025-06-07 13:30   ` Richard Henderson
2025-06-06 16:44 ` [RFC PATCH 08/19] accel/tcg: Prefer local AccelState over global current_accel() Philippe Mathieu-Daudé
2025-06-07 13:37   ` Richard Henderson
2025-06-06 16:44 ` [RFC PATCH 09/19] accel: Factor accel_cpu_realize() out Philippe Mathieu-Daudé
2025-06-11 13:46   ` Alex Bennée
2025-06-06 16:44 ` [RFC PATCH 10/19] accel/dummy: Factor dummy_thread_precreate() out Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 11/19] accel/dummy: Factor tcg_vcpu_thread_precreate() out Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 12/19] accel: Factor accel_create_vcpu_thread() out Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 13/19] accel: Introduce AccelOpsClass::cpu_thread_routine handler Philippe Mathieu-Daudé
2025-06-11 14:09   ` Alex Bennée
2025-06-06 16:44 ` [RFC PATCH 14/19] accel/dummy: Convert to AccelOpsClass::cpu_thread_routine Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 15/19] accel/tcg: " Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 16/19] accel/hvf: " Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 17/19] accel/kvm: " Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 18/19] accel/nvmm: " Philippe Mathieu-Daudé
2025-06-06 16:44 ` [RFC PATCH 19/19] accel/whpx: " Philippe Mathieu-Daudé
2025-06-11 14:00 ` [RFC PATCH 00/19] accel: Preparatory cleanups for split-accel Alex Bennée

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250606164418.98655-1-philmd@linaro.org \
    --to=philmd@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=pierrick.bouvier@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).