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. Since v1 I've fix a build issue with FreeBSD and incorporated some more testing patches from the list as well as addressed comments. As usual individual updates are mentioned bellow the --- in the individual patches.
I am seeing some failures on gitlab CI but it's hard to pin down if it is due to gitlab stability or something in this series. I'm posting now for review so as not to hold that up while I poke some more. I'm also open to any ideas for how to replicate. - plugins: move reset of plugin data to tb_start - tests/plugins: add instruction matching to libinsn.so - tests/plugin: allow libinsn.so per-CPU counts - block: fix FreeBSD build failure with fallocate - Makefile: also remove .gcno files when cleaning - tests/qtest: enable more vhost-user tests by default Alex Bennée (14): 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 docs/devel: mention our .editorconfig block: fix FreeBSD build failure with fallocate 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 Stefan Hajnoczi (1): gitlab: fall back to commit hash in qemu-setup filename Thomas Huth (1): tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too docs/about/removed-features.rst | 13 ++ docs/devel/style.rst | 4 + 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 -- block/export/fuse.c | 2 + contrib/plugins/drcov.c | 163 ++++++++++++++++++ plugins/api.c | 46 +++++ target/i386/tcg/sysemu/seg_helper.c | 4 +- tcg/tcg-op.c | 5 - tests/plugin/insn.c | 126 +++++++++++++- tests/qtest/vhost-user-test.c | 21 +-- 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/crossbuild-template.yml | 2 +- .gitlab-ci.d/windows.yml | 2 - .gitmodules | 2 +- MAINTAINERS | 1 + block/meson.build | 3 +- contrib/plugins/Makefile | 1 + 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/Makefile.include | 2 +- tests/lcitool/libvirt-ci | 2 +- tests/lcitool/projects/qemu.yml | 2 +- tests/lcitool/refresh | 2 +- trace-events | 14 -- trace/meson.build | 14 -- 59 files changed, 442 insertions(+), 592 deletions(-) delete mode 100644 include/trace-tcg.h create mode 100644 contrib/plugins/drcov.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