qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Fix buffer run out in eepro100.


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] Fix buffer run out in eepro100.
Date: Wed, 29 Aug 2012 08:46:59 +0100

On Wed, Aug 29, 2012 at 8:17 AM, Bo Yang <address@hidden> wrote:
> On 08/29/2012 02:45 PM, Stefan Hajnoczi wrote:
>> BTW, guest driver out-of-memory is not the hardware's problem.  The
>> driver needs to handle it.  For example, the Linux e100 driver has a
>> watchdog timer which will raise an interrupt to refill the rx ring if
>> allocation failed.
>
> You're absolutely right here. Can we do our best to work around broken
> drivers? does it deserve to provide such a workaround?

Adding behavior that is not in the spec can introduce new bugs.

Without a reproducible bug that shows we need this non-spec behavior,
I think we shouldn't add it.

Stefan



reply via email to

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