The following changes since commit 9a4e273ddec3927920c5958d2226c6b38b543336:
Merge tag 'pull-tcg-20250711' of https://gitlab.com/rth7680/qemu into staging (2025-07-13 01:46:04 -0400) are available in the Git repository at: https://github.com/philmd/qemu.git tags/accel-20250715 for you to fetch changes up to 0a94a7b8802b7f6dc2521e48d837d1b5173f9db4: system/runstate: Document qemu_add_vm_change_state_handler_prio* in hdr (2025-07-15 21:42:58 +0200) ---------------------------------------------------------------- Accelerators patches - Unify x86/arm hw/xen/arch_hvm.h header - Move non-system-specific 'accel/accel-ops.h' and 'accel-cpu-ops.h' to accel/ - Move KVM definitions qapi/accelerator.json - Add @qom-type field to CpuInfoFast QAPI structure - Display CPU model name in 'info cpus' HMP command - Introduce @x-accel-stats QMP command - Add 'info accel' on HMP - Improve qemu_add_vm_change_state_handler*() docstring - Extract TCG statistic related code to tcg-stats.c - Implement AccelClass::get_[vcpu]_stats() handlers for TCG and HVF - Do not dump NaN in TCG statistics - Revert incomplete "accel/tcg: Unregister the RCU before exiting RR thread" Spurious warnings ignored: 1/17 Checking commit 62b8cc1ecb37 (hw/xen/arch_hvm: Unify x86 and ARM variants) WARNING: added, moved or deleted file(s): include/hw/arm/xen_arch_hvm.h include/hw/i386/xen_arch_hvm.h Does MAINTAINERS need updating? $ git grep xen_arch_hvm.h $ 7/17 Checking commit 05927e9dc937 (accel: Rename 'system/accel-ops.h' -> 'accel/accel-cpu-ops.h') WARNING: added, moved or deleted file(s): include/accel/accel-cpu-ops.h Does MAINTAINERS need updating? $ ./scripts/get_maintainer.pl -f include/accel/accel-cpu-ops.h Richard Henderson <richard.hender...@linaro.org> (maintainer:Overall) Paolo Bonzini <pbonz...@redhat.com> (reviewer:Overall) "Philippe Mathieu-Daudé" <phi...@linaro.org> (reviewer:Overall) 10/17 Checking commit 8cc04fd9df3b (accel/tcg: Extract statistic related code to tcg-stats.c) WARNING: Saw acceptable license 'LGPL-2.1-or-later' but note 'GPL-2.0-or-later' is preferred for new files unless the code is derived from a source file with an existing declared license that must be retained. Please explain the license choice in the commit message. LGPL-2.1-or-later copied (explained in commit). WARNING: added, moved or deleted file(s): accel/tcg/tcg-stats.c Does MAINTAINERS need updating? $ ./scripts/get_maintainer.pl -f accel/tcg/tcg-stats.c Richard Henderson <richard.hender...@linaro.org> (maintainer:Overall TCG CPUs) Paolo Bonzini <pbonz...@redhat.com> (reviewer:Overall TCG CPUs) 11/17 Checking commit 1861993f1fc1 (accel/system: Introduce @x-accel-stats QMP command) WARNING: added, moved or deleted file(s): accel/accel-qmp.c Does MAINTAINERS need updating? $ ./scripts/get_maintainer.pl -f accel/accel-qmp.c Richard Henderson <richard.hender...@linaro.org> (maintainer:Overall) Paolo Bonzini <pbonz...@redhat.com> (reviewer:Overall) "Philippe Mathieu-Daudé" <phi...@linaro.org> (reviewer:Overall) ---------------------------------------------------------------- Philippe Mathieu-Daudé (17): hw/xen/arch_hvm: Unify x86 and ARM variants hw/arm/xen-pvh: Remove unnecessary 'hw/xen/arch_hvm.h' header qapi/accel: Move definitions related to accelerators in their own file qapi/machine: Add @qom-type field to CpuInfoFast structure hw/core/machine: Display CPU model name in 'info cpus' command accel/tcg: Do not dump NaN statistics accel: Rename 'system/accel-ops.h' -> 'accel/accel-cpu-ops.h' accel: Extract AccelClass definition to 'accel/accel-ops.h' Revert "accel/tcg: Unregister the RCU before exiting RR thread" accel/tcg: Extract statistic related code to tcg-stats.c accel/system: Introduce @x-accel-stats QMP command accel/system: Add 'info accel' on human monitor accel/tcg: Propagate AccelState to dump_accel_info() accel/tcg: Implement AccelClass::get_stats() handler accel/hvf: Implement AccelClass::get_vcpu_stats() handler system/runstate: Document qemu_add_vm_change_state_handler() system/runstate: Document qemu_add_vm_change_state_handler_prio* in hdr MAINTAINERS | 3 +- qapi/accelerator.json | 56 +++++ qapi/machine.json | 32 +-- qapi/qapi-schema.json | 1 + accel/tcg/internal-common.h | 2 +- .../accel-ops.h => accel/accel-cpu-ops.h} | 11 +- include/accel/accel-ops.h | 51 ++++ include/hw/arm/xen_arch_hvm.h | 9 - include/hw/i386/xen_arch_hvm.h | 11 - include/hw/xen/arch_hvm.h | 14 +- include/qemu/accel.h | 39 +--- include/system/hvf_int.h | 3 +- include/system/kvm_int.h | 1 + include/system/runstate.h | 40 ++++ include/tcg/tcg.h | 2 + accel/accel-common.c | 2 + accel/accel-qmp.c | 35 +++ accel/accel-system.c | 12 +- accel/hvf/hvf-accel-ops.c | 27 ++- accel/hvf/hvf-all.c | 1 + accel/kvm/kvm-accel-ops.c | 2 +- accel/kvm/kvm-all.c | 1 + accel/qtest/qtest.c | 3 +- accel/tcg/monitor.c | 192 --------------- accel/tcg/tcg-accel-ops-rr.c | 2 - accel/tcg/tcg-accel-ops.c | 3 +- accel/tcg/tcg-all.c | 3 + accel/tcg/tcg-stats.c | 219 ++++++++++++++++++ accel/xen/xen-all.c | 3 +- bsd-user/main.c | 1 + cpu-target.c | 2 +- gdbstub/system.c | 3 +- hw/arm/xen-pvh.c | 1 - hw/core/machine-hmp-cmds.c | 5 +- hw/core/machine-qmp-cmds.c | 2 + linux-user/main.c | 1 + system/cpus.c | 2 +- system/memory.c | 1 + system/runstate.c | 30 --- target/i386/nvmm/nvmm-accel-ops.c | 2 +- target/i386/nvmm/nvmm-all.c | 1 + target/i386/whpx/whpx-accel-ops.c | 2 +- target/i386/whpx/whpx-all.c | 1 + accel/meson.build | 2 +- accel/tcg/meson.build | 1 + hmp-commands-info.hx | 12 + qapi/meson.build | 1 + 47 files changed, 515 insertions(+), 335 deletions(-) create mode 100644 qapi/accelerator.json rename include/{system/accel-ops.h => accel/accel-cpu-ops.h} (91%) create mode 100644 include/accel/accel-ops.h delete mode 100644 include/hw/arm/xen_arch_hvm.h delete mode 100644 include/hw/i386/xen_arch_hvm.h create mode 100644 accel/accel-qmp.c create mode 100644 accel/tcg/tcg-stats.c -- 2.49.0