vhost-device/crates
Matias Ezequiel Vara Larsen 3d0f785d66 crates/sound: read buffers from guest memory rather than copying them
In this commit, the buffers are only read from the available ring when
the audio backend will consume them. The guest driver moves buffers from
the used to the avail ring without knowing if the user application has
updated the content. As a result, when a request is enqueued into the
available ring, the device only reads the buffer from guest memory when
it is required by the audio engine. By doing this, we add enough delay
so that we can read the updated buffer.

Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
2023-09-29 10:44:11 +02:00
..
gpio tests: Initialize queues properly 2023-02-28 14:44:14 +05:30
i2c tests: Initialize queues properly 2023-02-28 14:44:14 +05:30
rng build(deps): bump tempfile from 3.3.0 to 3.4.0 2023-03-13 14:09:24 +05:30
sound crates/sound: read buffers from guest memory rather than copying them 2023-09-29 10:44:11 +02:00
vsock tests: Initialize queues properly 2023-02-28 14:44:14 +05:30