[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC] qemu-error: introduce error_report_once
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH RFC] qemu-error: introduce error_report_once |
Date: |
Fri, 1 Jun 2018 11:17:31 +0800 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
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: <address@hidden>
Regards,
--
Peter Xu
Re: [Qemu-devel] [PATCH RFC] qemu-error: introduce error_report_once, Stefan Hajnoczi, 2018/05/31
- Re: [Qemu-devel] [PATCH RFC] qemu-error: introduce error_report_once,
Peter Xu <=