plugins/execlog: fix segfault and flush output on vcpu exit
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 11 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | plugins/execlog: fix segfault/race-cond on per-vCPU structurescontrib/ | +25 | 5 replies | |
| 1/2 | plugins/execlog: fix segfault/race-cond on per-vCPU structurescontrib/ | +23 | 0 replies | |
| 2/2 | plugins/execlog: fix execlog vcpu_exit execution print losscontrib/ | +25 | 3 replies | |
| 2/2 | plugins/execlog: fix execlog vcpu_exit execution print losscontrib/ | +20 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pierrick Bouvier |
|---|---|
| Series | R-b T-b |
| 1/2 | |
| 1/2 | |
| 2/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] plugins/execlog: fix segfault and flush output on vcpu exit
From: Harry van Haaren <[email protected]>
Hi Qemu-Dev & CCs,
This is my first contribution to QEMU itself, but I have worked on DPDK, OVS, and QEMU-RS a bit in the past. I have experience with mailing lists for patches and some QEMU internals.
This is a "git publish" reply to the original patches that weren't in a patchset:
https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/
https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/
Thanks for reviews and input, the v2 reworks as follows:
- I expect email to no longer have "| OPENCHIP" in my name, and the email footer removed
- git publish used to send, with "--number 2" to hopefully get a v2 patchset out
- rebased to latest branch, atexit() function signatures changed
- avoid adding mutex for output, rely on QEMUs logging mutex (thanks Pierrick) --- use single call to log to avoid line-breaks corrupting output
Please note that LLMs were used to investigate and fix this bug, but all code in this patch has been reviewed by me, and I believe it to be a good solution.
Regards, -Harry
Harry van Haaren (2):
plugins/execlog: fix segfault/race-cond on per-vCPU structures plugins/execlog: fix execlog vcpu_exit execution print loss
contrib/plugins/execlog.c | 88 +++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 45 deletions(-)
Signature · 1 line
2.54.0