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

2018-05-23 Thread Philippe Mathieu-Daudé
On 05/22/2018 10:19 PM, Peter Xu wrote: > On Tue, May 22, 2018 at 06:09:46PM -0300, Philippe Mathieu-Daudé wrote: >> Hi Peter, >> >> On 05/22/2018 12:56 AM, Peter Xu wrote: >>> Replace existing trace_vtd_err() with error_report_once() then stderr >>> will capture something if any of the error happe

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

2018-05-22 Thread Peter Xu
On Tue, May 22, 2018 at 06:09:46PM -0300, Philippe Mathieu-Daudé wrote: > Hi Peter, > > On 05/22/2018 12:56 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 D

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

2018-05-22 Thread Philippe Mathieu-Daudé
Hi Peter, On 05/22/2018 12:56 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. > > Signed-off-by: Peter Xu > --- > hw/i386/in

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

2018-05-21 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. Signed-off-by: Peter Xu --- hw/i386/intel_iommu.c | 34 +- hw/i386/trac