[PATCH v1 00/22] testing and plugin updates

Alex Bennée posted 22 patches 2 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220124201608.604599-1-alex.bennee@linaro.org
Test checkpatch failed
There is a newer version of this series
docs/about/removed-features.rst               |  13 ++
docs/devel/tracing.rst                        |  85 ---------
Makefile                                      |   3 +-
meson.build                                   |  10 --
accel/tcg/atomic_template.h                   |  12 --
include/exec/helper-gen.h                     |   2 -
include/exec/helper-proto.h                   |   1 -
include/exec/helper-tcg.h                     |   1 -
include/qemu/qemu-plugin.h                    |  34 ++++
include/trace-tcg.h                           |   6 -
accel/tcg/cputlb.c                            |   2 -
accel/tcg/plugin-gen.c                        |  29 ++--
accel/tcg/user-exec.c                         |  14 --
contrib/plugins/drcov.c                       | 163 ++++++++++++++++++
contrib/plugins/stxp-plugin.c                 |  50 ++++++
plugins/api.c                                 |  46 +++++
target/i386/tcg/sysemu/seg_helper.c           |   4 +-
tcg/tcg-op.c                                  |   5 -
tests/plugin/insn.c                           | 125 +++++++++++++-
tests/qtest/vhost-user-test.c                 |  21 +--
tests/tcg/aarch64/stxp.c                      |  28 +++
accel/tcg/atomic_common.c.inc                 |  20 ---
.cirrus.yml                                   |   1 -
.gitignore                                    |   1 +
.gitlab-ci.d/cirrus/freebsd-12.vars           |   2 +-
.gitlab-ci.d/cirrus/freebsd-13.vars           |   2 +-
.gitlab-ci.d/cirrus/macos-11.vars             |   2 +-
.gitlab-ci.d/windows.yml                      |   2 -
.gitmodules                                   |   2 +-
MAINTAINERS                                   |   1 +
block/meson.build                             |   3 +-
contrib/plugins/Makefile                      |   2 +
meson_options.txt                             |   2 -
plugins/qemu-plugins.symbols                  |   4 +
scripts/checkpatch.pl                         |   1 -
.../ci/org.centos/stream/8/x86_64/configure   |   1 -
scripts/coverity-scan/coverity-scan.docker    |   1 -
scripts/coverity-scan/run-coverity-scan       |   2 +-
scripts/meson-buildoptions.sh                 |   3 -
scripts/tracetool/__init__.py                 |  41 +----
scripts/tracetool/format/tcg_h.py             |  83 ---------
scripts/tracetool/format/tcg_helper_c.py      |  79 ---------
scripts/tracetool/format/tcg_helper_h.py      |  48 ------
.../tracetool/format/tcg_helper_wrapper_h.py  |  70 --------
scripts/tracetool/vcpu.py                     |  14 +-
tests/Makefile.include                        |   4 -
tests/docker/dockerfiles/alpine.docker        |   4 +-
tests/docker/dockerfiles/centos8.docker       |   4 +-
tests/docker/dockerfiles/fedora.docker        |   4 +-
tests/docker/dockerfiles/opensuse-leap.docker |   3 +-
tests/docker/dockerfiles/ubuntu1804.docker    |   4 +-
tests/docker/dockerfiles/ubuntu2004.docker    |   4 +-
tests/lcitool/libvirt-ci                      |   2 +-
tests/lcitool/projects/qemu.yml               |   2 +-
tests/lcitool/refresh                         |   2 +-
tests/tcg/aarch64/Makefile.target             |   3 +
trace-events                                  |  14 --
trace/meson.build                             |  14 --
58 files changed, 515 insertions(+), 590 deletions(-)
delete mode 100644 include/trace-tcg.h
create mode 100644 contrib/plugins/drcov.c
create mode 100644 contrib/plugins/stxp-plugin.c
create mode 100644 tests/tcg/aarch64/stxp.c
delete mode 100644 scripts/tracetool/format/tcg_h.py
delete mode 100644 scripts/tracetool/format/tcg_helper_c.py
delete mode 100644 scripts/tracetool/format/tcg_helper_h.py
delete mode 100644 scripts/tracetool/format/tcg_helper_wrapper_h.py
[PATCH v1 00/22] testing and plugin updates
Posted by Alex Bennée 2 years, 3 months ago
Hi,

Here is the usual accumulation of testing patches along with some
updates for TCG plugins. Aside from a few more tricks for some of the
plugins I've also fixed a bug and done some tidying up of the gcov
behaviour. I've included one patch to test the stxp behaviour but I'll
drop it before any PR so no need to review that one. Of the rest quite
a few could still do with some review:

 - plugins: move reset of plugin data to tb_start
 - target/i386: use CPU_LOG_INT for IRQ servicing
 - tests/plugins: add instruction matching to libinsn.so
 - tests/plugin: allow libinsn.so per-CPU counts
 - .gitignore: add .gcov pattern
 - Makefile: also remove .gcno files when cleaning
 - tests/qtest: enable more vhost-user tests by default
 - tests/Makefile.include: clean-up old code

Alex Bennée (13):
  tests/Makefile.include: clean-up old code
  tests/qtest: enable more vhost-user tests by default
  Makefile: also remove .gcno files when cleaning
  .gitignore: add .gcov pattern
  plugins: stxp test case from Aaron (!upstream)
  docs: remove references to TCG tracing
  tracing: remove TCG memory access tracing
  tracing: remove the trace-tcg includes from the build
  tracing: excise the tcg related from tracetool
  tests/plugin: allow libinsn.so per-CPU counts
  tests/plugins: add instruction matching to libinsn.so
  target/i386: use CPU_LOG_INT for IRQ servicing
  plugins: move reset of plugin data to tb_start

Ivanov Arkady (2):
  plugins: add helper functions for coverage plugins
  contrib/plugins: add a drcov plugin

Michael Tokarev (1):
  drop libxml2 checks since libxml is not actually used (for parallels)

Philippe Mathieu-Daudé (6):
  MAINTAINERS: Cover lcitool submodule with build test / automation
  gitmodules: Correct libvirt-ci submodule URL
  tests/lcitool: Include local qemu.yml when refreshing cirrus-ci files
  tests/lcitool: Refresh submodule and remove libxml2
  tests: Manually remove libxml2 on MSYS2 runners
  tests/lcitool: Install libibumad to cover RDMA on Debian based distros

 docs/about/removed-features.rst               |  13 ++
 docs/devel/tracing.rst                        |  85 ---------
 Makefile                                      |   3 +-
 meson.build                                   |  10 --
 accel/tcg/atomic_template.h                   |  12 --
 include/exec/helper-gen.h                     |   2 -
 include/exec/helper-proto.h                   |   1 -
 include/exec/helper-tcg.h                     |   1 -
 include/qemu/qemu-plugin.h                    |  34 ++++
 include/trace-tcg.h                           |   6 -
 accel/tcg/cputlb.c                            |   2 -
 accel/tcg/plugin-gen.c                        |  29 ++--
 accel/tcg/user-exec.c                         |  14 --
 contrib/plugins/drcov.c                       | 163 ++++++++++++++++++
 contrib/plugins/stxp-plugin.c                 |  50 ++++++
 plugins/api.c                                 |  46 +++++
 target/i386/tcg/sysemu/seg_helper.c           |   4 +-
 tcg/tcg-op.c                                  |   5 -
 tests/plugin/insn.c                           | 125 +++++++++++++-
 tests/qtest/vhost-user-test.c                 |  21 +--
 tests/tcg/aarch64/stxp.c                      |  28 +++
 accel/tcg/atomic_common.c.inc                 |  20 ---
 .cirrus.yml                                   |   1 -
 .gitignore                                    |   1 +
 .gitlab-ci.d/cirrus/freebsd-12.vars           |   2 +-
 .gitlab-ci.d/cirrus/freebsd-13.vars           |   2 +-
 .gitlab-ci.d/cirrus/macos-11.vars             |   2 +-
 .gitlab-ci.d/windows.yml                      |   2 -
 .gitmodules                                   |   2 +-
 MAINTAINERS                                   |   1 +
 block/meson.build                             |   3 +-
 contrib/plugins/Makefile                      |   2 +
 meson_options.txt                             |   2 -
 plugins/qemu-plugins.symbols                  |   4 +
 scripts/checkpatch.pl                         |   1 -
 .../ci/org.centos/stream/8/x86_64/configure   |   1 -
 scripts/coverity-scan/coverity-scan.docker    |   1 -
 scripts/coverity-scan/run-coverity-scan       |   2 +-
 scripts/meson-buildoptions.sh                 |   3 -
 scripts/tracetool/__init__.py                 |  41 +----
 scripts/tracetool/format/tcg_h.py             |  83 ---------
 scripts/tracetool/format/tcg_helper_c.py      |  79 ---------
 scripts/tracetool/format/tcg_helper_h.py      |  48 ------
 .../tracetool/format/tcg_helper_wrapper_h.py  |  70 --------
 scripts/tracetool/vcpu.py                     |  14 +-
 tests/Makefile.include                        |   4 -
 tests/docker/dockerfiles/alpine.docker        |   4 +-
 tests/docker/dockerfiles/centos8.docker       |   4 +-
 tests/docker/dockerfiles/fedora.docker        |   4 +-
 tests/docker/dockerfiles/opensuse-leap.docker |   3 +-
 tests/docker/dockerfiles/ubuntu1804.docker    |   4 +-
 tests/docker/dockerfiles/ubuntu2004.docker    |   4 +-
 tests/lcitool/libvirt-ci                      |   2 +-
 tests/lcitool/projects/qemu.yml               |   2 +-
 tests/lcitool/refresh                         |   2 +-
 tests/tcg/aarch64/Makefile.target             |   3 +
 trace-events                                  |  14 --
 trace/meson.build                             |  14 --
 58 files changed, 515 insertions(+), 590 deletions(-)
 delete mode 100644 include/trace-tcg.h
 create mode 100644 contrib/plugins/drcov.c
 create mode 100644 contrib/plugins/stxp-plugin.c
 create mode 100644 tests/tcg/aarch64/stxp.c
 delete mode 100644 scripts/tracetool/format/tcg_h.py
 delete mode 100644 scripts/tracetool/format/tcg_helper_c.py
 delete mode 100644 scripts/tracetool/format/tcg_helper_h.py
 delete mode 100644 scripts/tracetool/format/tcg_helper_wrapper_h.py

-- 
2.30.2