qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V2 2/4] imx.31 and KZM board support: Timer supp


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH V2 2/4] imx.31 and KZM board support: Timer support
Date: Thu, 24 Nov 2011 17:01:54 +0000

On 22 November 2011 04:33, Peter Chubb <address@hidden> wrote:
> +/*
> + * Print a message at most ten times.
> + */
> +#define scream(fmt, args...) \
> +    do { \
> +        static int printable = 10;\
> +        if (printable--) { \
> +            fprintf(stderr, fmt, ##args);\
> +        } \
> +    } while (0)

Sorry, when I was talking about rate limits and things I didn't
mean that we should add them in individual device models but that
we needed a logging/warning infrastructure that included them.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]