diff options
author | Peter Xu <peterx@redhat.com> | 2018-08-15 17:53:27 +0800 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-08-27 15:00:45 +0200 |
commit | 1376211f77bdcd84dc4acb877690f7399d8cf58a (patch) | |
tree | add1ea288d0cf2e2f224e86db0db7168bde25844 /hw/i386/trace-events | |
parent | bc6a69dd4bfa41ae56235dcbb9a28a56e12a7dc6 (diff) |
intel-iommu: start to use error_report_once
Replace existing trace_vtd_err() with error_report_once() then stderr
will capture something if any of the error happens, meanwhile we don't
suffer from any DDOS. Then remove the trace point. Since at it,
provide more information where proper (now we can pass parameters into
the report function).
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180815095328.32414-3-peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Two format strings fixed, whitespace tidied up]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/i386/trace-events')
-rw-r--r-- | hw/i386/trace-events | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/trace-events b/hw/i386/trace-events index e14d06ec83..922431b1bb 100644 --- a/hw/i386/trace-events +++ b/hw/i386/trace-events @@ -69,7 +69,6 @@ vtd_ir_remap_msi_req(uint64_t addr, uint64_t data) "addr 0x%"PRIx64" data 0x%"PR vtd_fsts_ppf(bool set) "FSTS PPF bit set to %d" vtd_fsts_clear_ip(void) "" vtd_frr_new(int index, uint64_t hi, uint64_t lo) "index %d high 0x%"PRIx64" low 0x%"PRIx64 -vtd_err(const char *str) "%s" vtd_err_dmar_iova_overflow(uint64_t iova) "iova 0x%"PRIx64 vtd_err_dmar_slpte_read_error(uint64_t iova, int level) "iova 0x%"PRIx64" level %d" vtd_err_dmar_slpte_perm_error(uint64_t iova, int level, uint64_t slpte, bool is_write) "iova 0x%"PRIx64" level %d slpte 0x%"PRIx64" write %d" |