[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC] qemu-error: introduce error_report_once
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH RFC] qemu-error: introduce error_report_once |
Date: |
Thu, 31 May 2018 12:03:17 +0100 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
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
signature.asc
Description: PGP signature
Re: [Qemu-devel] [PATCH RFC] qemu-error: introduce error_report_once,
Stefan Hajnoczi <=