On Thu, May 31, 2018 at 12:03:17PM +0100, Stefan Hajnoczi wrote:
> On Tue, May 15, 2018 at 05:13:56PM +0800, Peter Xu wrote:
> > I stole the printk_once() macro.
> >
> > I always wanted to be able to print some error directly if there is a
> > buffer to dump, however we can't use error_report() really quite often
> > when there can be any DDOS attack. To avoid that, we can introduce a
> > print-once function for it.
>
> I like the idea. It solves the problem of guest-triggerable error
> messages that we should know about for troubleshooting but can't due to
> DoS.
>
> Stefan
Thanks for the positive feedback. Please feel free to have a look on
the latest version:
Subject: [PATCH v4 0/2] error-report: introduce {error|warn}_report_once
Message-Id: <[email protected]>
Regards,
--
Peter Xu