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 use it to replace VT-d trace_vtd_err().

Please review.  Thanks.

Peter Xu (2):
  qemu-error: introduce {error|warn}_report_once
  intel-iommu: start to use error_report_once

 include/qemu/error-report.h | 26 ++++++++++++++++++++++++++
 hw/i386/intel_iommu.c       | 34 +++++++++++++++++-----------------
 hw/i386/trace-events        |  1 -
 3 files changed, 43 insertions(+), 18 deletions(-)

-- 
2.17.0


Reply via email to