[PATCH] virtio: make more robust in face of misbehaving devices
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 22 01:59:50 PDT 2025
On Tue, 22 Apr 2025 09:56:58 +0200, Ahmad Fatoum wrote:
> The virtio device drivers assume at a number of places that polling
> indefinitely with virtqueue_get_buf will eventually succeed.
>
> It was observed that sometimes after a warm reboot inside QEMU, barebox
> finds itself inside an infinite poll loop.
>
> This needs to be further analyzed, of course, but it's already and
> improvement for barebox to recover from such situations by returning an
> error code or at least printing an error message.
>
> [...]
Applied, thanks!
[1/1] virtio: make more robust in face of misbehaving devices
https://git.pengutronix.de/cgit/barebox/commit/?id=1e84d6ffc4af (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list