[PULL 00/12] Plugins update 2025-03-05

Pierrick Bouvier posted 12 patches 1 month ago
Failed in applying to current master (apply log)
Maintainers: Laurent Vivier <laurent@vivier.eu>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Brian Cain <brian.cain@oss.qualcomm.com>, "Alex Bennée" <alex.bennee@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Peter Maydell <peter.maydell@linaro.org>
MAINTAINERS                                        |   1 +
include/plugins/qemu-plugin.h                      |  22 ++++
linux-user/include/special-errno.h                 |   8 ++
linux-user/aarch64/cpu_loop.c                      |   2 +-
linux-user/alpha/cpu_loop.c                        |   2 +-
linux-user/arm/cpu_loop.c                          |   2 +-
linux-user/hexagon/cpu_loop.c                      |   2 +-
linux-user/hppa/cpu_loop.c                         |   1 +
linux-user/i386/cpu_loop.c                         |   8 +-
linux-user/loongarch64/cpu_loop.c                  |   5 +-
linux-user/m68k/cpu_loop.c                         |   2 +-
linux-user/microblaze/cpu_loop.c                   |   2 +-
linux-user/mips/cpu_loop.c                         |   9 +-
linux-user/or1k/cpu_loop.c                         |   2 +-
linux-user/ppc/cpu_loop.c                          |  10 +-
linux-user/riscv/cpu_loop.c                        |   2 +-
linux-user/s390x/cpu_loop.c                        |   2 +-
linux-user/sh4/cpu_loop.c                          |   2 +-
linux-user/sparc/cpu_loop.c                        |   4 +-
linux-user/syscall.c                               |  16 +++
linux-user/xtensa/cpu_loop.c                       |   1 +
plugins/api.c                                      |  42 ++++++-
plugins/core.c                                     |  50 ++++++--
.../{ => plugin}/test-plugin-mem-access.c          |   0
tests/tcg/multiarch/plugin/test-plugin-set-pc.c    | 134 +++++++++++++++++++++
tests/tcg/plugins/mem.c                            |  95 +++++++--------
tests/tcg/plugins/patch.c                          |   2 +-
tests/tcg/plugins/registers.c                      |  79 ++++++++++++
tests/tcg/plugins/setpc.c                          | 105 ++++++++++++++++
scripts/qemu-plugin-symbols.py                     |   9 +-
tests/tcg/arm/Makefile.target                      |   6 +
tests/tcg/hexagon/Makefile.target                  |   8 ++
tests/tcg/multiarch/Makefile.target                |  17 ++-
.../multiarch/{ => plugin}/check-plugin-output.sh  |   0
tests/tcg/plugins/meson.build                      |   2 +
35 files changed, 555 insertions(+), 99 deletions(-)
rename tests/tcg/multiarch/{ => plugin}/test-plugin-mem-access.c (100%)
create mode 100644 tests/tcg/multiarch/plugin/test-plugin-set-pc.c
create mode 100644 tests/tcg/plugins/registers.c
create mode 100644 tests/tcg/plugins/setpc.c
rename tests/tcg/multiarch/{ => plugin}/check-plugin-output.sh (100%)
[PULL 00/12] Plugins update 2025-03-05
Posted by Pierrick Bouvier 1 month ago
The following changes since commit 314ff2e07ddc6163554077d68aed5d76a50b8e3d:

  Merge tag 'pull-request-2026-03-05' of https://gitlab.com/thuth/qemu into staging (2026-03-05 16:58:20 +0000)

are available in the Git repository at:

  https://gitlab.com/pbo-linaro/qemu tags/pr-plugins-20260305

for you to fetch changes up to aca77dfd90c8a17a2b3526c5cc871cc410357a5f:

  tests/tcg/plugins/patch: Free read_data in patch_hwaddr() (2026-03-05 10:54:09 -0800)

----------------------------------------------------------------
Changes:
- [PATCH v7 0/8] Enable PC diversion via the plugin API (Florian Hofhammer <florian.hofhammer@epfl.ch>)
  Link: https://lore.kernel.org/qemu-devel/20260305-setpc-v5-v7-0-4c3adba52403@epfl.ch
- [PATCH trivial] plugins: add missing callbacks to version history (Florian Hofhammer <florian.hofhammer@epfl.ch>)
  Link: https://lore.kernel.org/qemu-devel/c4ecefb4-8769-403f-8420-8bce42e43e13@epfl.ch
- [PATCH 0/3] tests/tcg/plugins: Fix sanitizer issues (Peter Maydell <peter.maydell@linaro.org>)
  Link: https://lore.kernel.org/qemu-devel/20260305161531.1774895-1-peter.maydell@linaro.org

----------------------------------------------------------------
Florian Hofhammer (8):
      plugins: add flag to specify whether PC is rw
      linux-user: make syscall emulation interruptible
      plugins: add PC diversion API function
      tests/tcg: add tests for qemu_plugin_set_pc API
      plugins: add read-only property for registers
      plugins: prohibit writing to read-only registers
      tests/tcg/plugins: test register accesses
      plugins: add missing callbacks to version history

Peter Maydell (3):
      tests/tcg/plugins/mem: Don't access unaligned memory
      tests/tcg/plugins/mem: Correct hash iteration code in plugin_exit()
      tests/tcg/plugins/patch: Free read_data in patch_hwaddr()

Pierrick Bouvier (1):
      plugins/core: clamp syscall arguments if target is 32-bit

 MAINTAINERS                                        |   1 +
 include/plugins/qemu-plugin.h                      |  22 ++++
 linux-user/include/special-errno.h                 |   8 ++
 linux-user/aarch64/cpu_loop.c                      |   2 +-
 linux-user/alpha/cpu_loop.c                        |   2 +-
 linux-user/arm/cpu_loop.c                          |   2 +-
 linux-user/hexagon/cpu_loop.c                      |   2 +-
 linux-user/hppa/cpu_loop.c                         |   1 +
 linux-user/i386/cpu_loop.c                         |   8 +-
 linux-user/loongarch64/cpu_loop.c                  |   5 +-
 linux-user/m68k/cpu_loop.c                         |   2 +-
 linux-user/microblaze/cpu_loop.c                   |   2 +-
 linux-user/mips/cpu_loop.c                         |   9 +-
 linux-user/or1k/cpu_loop.c                         |   2 +-
 linux-user/ppc/cpu_loop.c                          |  10 +-
 linux-user/riscv/cpu_loop.c                        |   2 +-
 linux-user/s390x/cpu_loop.c                        |   2 +-
 linux-user/sh4/cpu_loop.c                          |   2 +-
 linux-user/sparc/cpu_loop.c                        |   4 +-
 linux-user/syscall.c                               |  16 +++
 linux-user/xtensa/cpu_loop.c                       |   1 +
 plugins/api.c                                      |  42 ++++++-
 plugins/core.c                                     |  50 ++++++--
 .../{ => plugin}/test-plugin-mem-access.c          |   0
 tests/tcg/multiarch/plugin/test-plugin-set-pc.c    | 134 +++++++++++++++++++++
 tests/tcg/plugins/mem.c                            |  95 +++++++--------
 tests/tcg/plugins/patch.c                          |   2 +-
 tests/tcg/plugins/registers.c                      |  79 ++++++++++++
 tests/tcg/plugins/setpc.c                          | 105 ++++++++++++++++
 scripts/qemu-plugin-symbols.py                     |   9 +-
 tests/tcg/arm/Makefile.target                      |   6 +
 tests/tcg/hexagon/Makefile.target                  |   8 ++
 tests/tcg/multiarch/Makefile.target                |  17 ++-
 .../multiarch/{ => plugin}/check-plugin-output.sh  |   0
 tests/tcg/plugins/meson.build                      |   2 +
 35 files changed, 555 insertions(+), 99 deletions(-)
 rename tests/tcg/multiarch/{ => plugin}/test-plugin-mem-access.c (100%)
 create mode 100644 tests/tcg/multiarch/plugin/test-plugin-set-pc.c
 create mode 100644 tests/tcg/plugins/registers.c
 create mode 100644 tests/tcg/plugins/setpc.c
 rename tests/tcg/multiarch/{ => plugin}/check-plugin-output.sh (100%)
Re: [PULL 00/12] Plugins update 2025-03-05
Posted by Peter Maydell 1 month ago
On Thu, 5 Mar 2026 at 20:52, Pierrick Bouvier
<pierrick.bouvier@linaro.org> wrote:
>
> The following changes since commit 314ff2e07ddc6163554077d68aed5d76a50b8e3d:
>
>   Merge tag 'pull-request-2026-03-05' of https://gitlab.com/thuth/qemu into staging (2026-03-05 16:58:20 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/pbo-linaro/qemu tags/pr-plugins-20260305
>
> for you to fetch changes up to aca77dfd90c8a17a2b3526c5cc871cc410357a5f:
>
>   tests/tcg/plugins/patch: Free read_data in patch_hwaddr() (2026-03-05 10:54:09 -0800)
>
> ----------------------------------------------------------------
> Changes:
> - [PATCH v7 0/8] Enable PC diversion via the plugin API (Florian Hofhammer <florian.hofhammer@epfl.ch>)
>   Link: https://lore.kernel.org/qemu-devel/20260305-setpc-v5-v7-0-4c3adba52403@epfl.ch
> - [PATCH trivial] plugins: add missing callbacks to version history (Florian Hofhammer <florian.hofhammer@epfl.ch>)
>   Link: https://lore.kernel.org/qemu-devel/c4ecefb4-8769-403f-8420-8bce42e43e13@epfl.ch
> - [PATCH 0/3] tests/tcg/plugins: Fix sanitizer issues (Peter Maydell <peter.maydell@linaro.org>)
>   Link: https://lore.kernel.org/qemu-devel/20260305161531.1774895-1-peter.maydell@linaro.org
>



Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/11.0
for any user-visible changes.

-- PMM