Re: [Qemu-devel] [PATCH v3 2/2] intel-iommu: start to use error_report_once

2018-05-23 Thread Philippe Mathieu-Daudé
On 05/23/2018 12:18 AM, Peter Xu wrote: > 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 w

[Qemu-devel] [PATCH v3 2/2] intel-iommu: start to use error_report_once

2018-05-22 Thread Peter Xu
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).