Laurent Vivier 9a4b612d67 hwrng: virtio - always add a pending request
If we ensure we have already some data available by enqueuing
again the buffer once data are exhausted, we can return what we
have without waiting for the device answer.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Link: https://lore.kernel.org/r/20211028101111.128049-5-lvivier@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-11-01 05:26:47 -04:00
..
2021-06-17 15:31:05 +02:00
2021-08-06 19:45:26 +08:00
2019-08-08 12:07:49 +10:00
2020-10-02 18:02:13 +10:00
2020-11-09 11:21:00 +01:00