OSDN Git Service

intel-iommu: replace more vtd_err_* traces
authorPeter Xu <peterx@redhat.com>
Wed, 15 Aug 2018 09:53:28 +0000 (17:53 +0800)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 27 Aug 2018 13:09:20 +0000 (15:09 +0200)
commit4e4abd111a2af0179a4467368d695958844bf113
tree424dc986d07547af6e367b0b23e7164bc6d08530
parent1376211f77bdcd84dc4acb877690f7399d8cf58a
intel-iommu: replace more vtd_err_* traces

Replace all the trace_vtd_err_*() hooks with the new error_report_once()
since they are similar to trace_vtd_err() - dumping the first error
would be mostly enough, then we have them on by default too.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180815095328.32414-4-peterx@redhat.com>
[Use "%x" instead of "%" PRIx16 to print uint16_t, whitespace tidied up]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hw/i386/intel_iommu.c
hw/i386/trace-events