qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Subject: [PATCH  v1 0/8] plugins/next (cleanup, cpu_index and lockstep)
Date: Wed, 13 May 2020 18:31:52 +0100	[thread overview]
Message-ID: <20200513173200.11830-1-alex.bennee@linaro.org> (raw)

Hi,

This is the current state of my plugins/next tree. It contains 3 bits
of work. 

First some minor clean-ups from Phillipe to help with his other
re-factoring work.

Next are some fixes for a crash reported by Nikolay on the list. The
root cause was a re-use of cpu_index although I've also tried to clean
up the handling of pthread termination.

Finally there is another iteration of my lockstep plugin which has had
a little more tinkering to better detect divergence between two
QEMU's. It's no Rehoboam but it will hopefully be helpful.

The following patches need review:

 - plugins: new lockstep plugin for debugging TCG changes
 - tests/tcg: add new threadcount test
 - linux-user: properly "unrealize" vCPU object
 - cpus-common: ensure auto-assigned cpu_indexes don't clash
 - MAINTAINERS: update the orphaned cpus-common.c file

Alex Bennée (5):
  MAINTAINERS: update the orphaned cpus-common.c file
  cpus-common: ensure auto-assigned cpu_indexes don't clash
  linux-user: properly "unrealize" vCPU object
  tests/tcg: add new threadcount test
  plugins: new lockstep plugin for debugging TCG changes

Philippe Mathieu-Daudé (3):
  qemu/plugin: Trivial code movement
  qemu/plugin: Move !CONFIG_PLUGIN stubs altogether
  qemu/qemu-plugin: Make qemu_plugin_hwaddr_is_io() hwaddr argument
    const

 include/qemu/plugin.h               |  65 +++---
 include/qemu/qemu-plugin.h          |   2 +-
 cpus-common.c                       |   9 +-
 linux-user/syscall.c                |  19 +-
 plugins/api.c                       |   4 +-
 tests/plugin/lockstep.c             | 345 ++++++++++++++++++++++++++++
 tests/tcg/multiarch/threadcount.c   |  62 +++++
 MAINTAINERS                         |   1 +
 tests/plugin/Makefile               |   1 +
 tests/tcg/Makefile.target           |   2 +-
 tests/tcg/multiarch/Makefile.target |   2 +
 11 files changed, 461 insertions(+), 51 deletions(-)
 create mode 100644 tests/plugin/lockstep.c
 create mode 100644 tests/tcg/multiarch/threadcount.c

-- 
2.20.1



             reply	other threads:[~2020-05-13 17:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 17:31 Alex Bennée [this message]
2020-05-13 17:31 ` [PATCH v1 1/8] qemu/plugin: Trivial code movement Alex Bennée
2020-05-13 17:31 ` [PATCH v1 2/8] qemu/plugin: Move !CONFIG_PLUGIN stubs altogether Alex Bennée
2020-05-13 17:31 ` [PATCH v1 3/8] qemu/qemu-plugin: Make qemu_plugin_hwaddr_is_io() hwaddr argument const Alex Bennée
2020-05-13 17:31 ` [PATCH v1 4/8] MAINTAINERS: update the orphaned cpus-common.c file Alex Bennée
2020-05-13 19:26   ` Philippe Mathieu-Daudé
2020-05-13 17:31 ` [PATCH v1 5/8] cpus-common: ensure auto-assigned cpu_indexes don't clash Alex Bennée
2020-05-14 16:27   ` Alex Bennée
2020-05-21 15:53     ` Igor Mammedov
2020-05-21 17:10       ` Alex Bennée
2020-05-22  8:46         ` Igor Mammedow
2020-05-13 17:31 ` [PATCH v1 6/8] linux-user: properly "unrealize" vCPU object Alex Bennée
2020-05-22  9:35   ` Philippe Mathieu-Daudé
2020-05-13 17:31 ` [PATCH v1 7/8] tests/tcg: add new threadcount test Alex Bennée
2020-05-15 19:51   ` Nikolay Igotti
2020-05-22  9:33   ` Philippe Mathieu-Daudé
2020-05-13 17:32 ` [PATCH v1 8/8] plugins: new lockstep plugin for debugging TCG changes Alex Bennée
2020-05-13 19:25 ` [PATCH v1 0/8] plugins/next (cleanup, cpu_index and lockstep) Philippe Mathieu-Daudé
2020-05-14  0:56 ` no-reply
2020-05-14  1:36 ` no-reply
2020-05-14  1:36 ` no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200513173200.11830-1-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).