Skip to content
Commit 9a4b612d authored by Laurent Vivier's avatar Laurent Vivier Committed by Michael S. Tsirkin
Browse files

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: default avatarLaurent Vivier <lvivier@redhat.com>
Link: https://lore.kernel.org/r/20211028101111.128049-5-lvivier@redhat.com
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 5c8e9330
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment