The following changes since commit c77283dd5d79149f4e7e9edd00f65416c648ee59:
Merge tag 'pull-request-2025-07-02' of https://gitlab.com/thuth/qemu into staging (2025-07-03 06:01:41 -0400)
are available in the Git repository at:
https://github.com/philmd/qemu.git tags/accel-20250704
for you to fetch changes up to 569efc2cd64fd7a1f9112e200f2ada20ba1af087:
MAINTAINERS: Add me as reviewer of overall accelerators section (2025-07-04 15:22:04 +0200)
----------------------------------------------------------------
Accelerators patches
- Generic API consolidation, cleanups (dead code removal, documentation added)
- Remove monitor TCG 'info opcount' and @x-query-opcount
- Have HVF / NVMM / WHPX use generic CPUState::vcpu_dirty field
- Expose nvmm_enabled() and whpx_enabled() to common code
- Report missing com.apple.security.hypervisor entitlement
- Have hmp_info_registers() dump vector registers
----------------------------------------------------------------
Daniel Henrique Barboza (1):
monitor/hmp-cmds-target: add CPU_DUMP_VPU in hmp_info_registers()
Philippe Mathieu-Daudé (35):
system/cpus: Assert interrupt handling is done with BQL locked
accel/kvm: Remove kvm_init_cpu_signals() stub
accel/kvm: Reduce kvm_create_vcpu() declaration scope
accel/tcg: Remove 'info opcount' and @x-query-opcount
accel/tcg: Remove profiler leftover
accel/tcg: Factor tcg_dump_flush_info() out
accel/tcg: Factor tcg_dump_stats() out for re-use
accel/tcg: Clear exit_request once in tcg_cpu_exec()
accel/tcg: Unregister the RCU before exiting RR thread
accel/hvf: Restrict internal declarations
accel/hvf: Move per-cpu method declarations to hvf-accel-ops.c
accel/hvf: Move generic method declarations to hvf-all.c
accel/hvf: Report missing com.apple.security.hypervisor entitlement
cpus: Document CPUState::vcpu_dirty field
accel/hvf: Replace @dirty field by generic CPUState::vcpu_dirty field
accel/nvmm: Replace @dirty field by generic CPUState::vcpu_dirty field
accel/whpx: Replace @dirty field by generic CPUState::vcpu_dirty field
accel/kvm: Remove kvm_cpu_synchronize_state() stub
accel/system: Document cpu_synchronize_state()
accel/system: Document cpu_synchronize_state_post_init/reset()
accel/nvmm: Expose nvmm_enabled() to common code
accel/whpx: Expose whpx_enabled() to common code
accel/dummy: Extract 'dummy-cpus.h' header from 'system/cpus.h'
accel: Expose and register generic_handle_interrupt()
accel: Keep reference to AccelOpsClass in AccelClass
accel: Propagate AccelState to AccelClass::init_machine()
accel/hvf: Re-use QOM allocated state
accel/tcg: Prefer local AccelState over global current_accel()
accel/kvm: Prefer local AccelState over global MachineState::accel
accel/kvm: Directly pass KVMState argument to do_kvm_create_vm()
accel: Directly pass AccelState argument to AccelClass::has_memory()
accel: Remove unused MachineState argument of AccelClass::setup_post()
accel: Pass AccelState argument to gdbstub_supported_sstep_flags()
accel/system: Convert pre_resume() from AccelOpsClass to AccelClass
MAINTAINERS: Add me as reviewer of overall accelerators section
MAINTAINERS | 4 +
qapi/machine.json | 18 --
accel/dummy-cpus.h | 14 ++
accel/tcg/internal-common.h | 2 +
include/hw/core/cpu.h | 3 +-
include/qemu/accel.h | 14 +-
include/system/accel-ops.h | 23 ++-
include/system/cpus.h | 5 -
include/system/hvf.h | 38 ----
include/system/hvf_int.h | 35 +++-
include/system/hw_accel.h | 21 +-
include/system/kvm.h | 8 -
include/system/nvmm.h | 23 +--
include/system/whpx.h | 27 +--
target/i386/whpx/whpx-accel-ops.h | 1 -
accel/accel-common.c | 2 +-
accel/accel-system.c | 16 +-
accel/dummy-cpus.c | 1 +
accel/hvf/hvf-accel-ops.c | 314 ++++--------------------------
accel/hvf/hvf-all.c | 280 ++++++++++++++++++++++++--
accel/kvm/kvm-accel-ops.c | 1 +
accel/kvm/kvm-all.c | 27 +--
accel/qtest/qtest.c | 4 +-
accel/stubs/kvm-stub.c | 9 -
accel/stubs/nvmm-stub.c | 12 ++
accel/stubs/whpx-stub.c | 12 ++
accel/tcg/monitor.c | 57 ++----
accel/tcg/tcg-accel-ops-mttcg.c | 1 -
accel/tcg/tcg-accel-ops-rr.c | 2 +
accel/tcg/tcg-accel-ops.c | 9 +-
accel/tcg/tcg-all.c | 6 +-
accel/xen/xen-all.c | 6 +-
bsd-user/main.c | 2 +-
linux-user/main.c | 2 +-
monitor/hmp-cmds-target.c | 4 +-
system/cpus.c | 16 +-
system/memory.c | 2 +-
target/arm/hvf/hvf.c | 4 +-
target/i386/hvf/hvf.c | 4 +-
target/i386/hvf/x86hvf.c | 2 +-
target/i386/nvmm/nvmm-accel-ops.c | 1 +
target/i386/nvmm/nvmm-all.c | 31 ++-
target/i386/whpx/whpx-accel-ops.c | 2 +-
target/i386/whpx/whpx-all.c | 35 ++--
tests/qtest/qmp-cmd-test.c | 1 -
accel/stubs/meson.build | 2 +
hmp-commands-info.hx | 14 --
47 files changed, 574 insertions(+), 543 deletions(-)
create mode 100644 accel/dummy-cpus.h
create mode 100644 accel/stubs/nvmm-stub.c
create mode 100644 accel/stubs/whpx-stub.c
--
2.49.0