mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-07 03:03:44 +00:00
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> |
||
|---|---|---|
| .. | ||
| gpio | ||
| i2c | ||
| rng | ||
| sound | ||
| vsock | ||