Skip to content

error-report: introduce {error|warn}_report_once

Peter Xu qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 7 repliesIn review
  2. v42 patches 19 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v22 patches6 repliesSuperseded

Changes in v5 from the cover letter

- rebase to master, especially fix up the last one trace_vtd_err() introduced in commit 63b88968f13 [Markus]
- add one more patch to replace the rest of trace_vtd_err*() hooks too

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qemu-error: introduce {error|warn}_report_onceinclude/qemu/error-report.h+32 -01 reply
2/3intel-iommu: start to use error_report_oncehw/i386/intel_iommu.c hw/i386/trace-events+36 -293 replies
3/3intel-iommu: replace more vtd_err_* traceshw/i386/intel_iommu.c hw/i386/trace-events+45 -302 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMarkus ArmbrusterPhilippe Mathieu-Daudé
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 0/3] error-report: introduce {error|warn}_report_once

v5:
- rebase to master, especially fix up the last one trace_vtd_err() introduced in commit 63b88968f13 [Markus]
- add one more patch to replace the rest of trace_vtd_err*() hooks too

v4:
- patch 2: pick r-b from Philippe
- patch 1: replace all __* variables into *_ [Eric]
- patch 1: enhance the commit message of patch 1, mention return code of macros [Markus]

v3:
- reindent in patch 2, dump more things [Philippe]

v2:
- for patch 1: replace tabs, add trivial comment [Markus] (I didn't add much comment otherwise I'll need to duplicate what's there in error_report())
- add patch 2

Patch 1 introduce the helpers.

Patch 2&3 firstly uses it.

Please review. Thanks.

Peter Xu (3):
qemu-error: introduce {error|warn}_report_once
intel-iommu: start to use error_report_once
intel-iommu: replace more vtd_err_* traces

 hw/i386/intel_iommu.c       | 127 +++++++++++++++++++++++-------------
 hw/i386/trace-events        |  13 ----
 include/qemu/error-report.h |  32 +++++++++
 3 files changed, 113 insertions(+), 59 deletions(-)
Signature · 1 line
2.17.1