mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
Moves logic of consuming available descriptor heads from AvailIter to Queue. Adds pop() function to the public interface of the Queue. This will let us remove the used_desc_heads arrays from various virtio device implementations because pop() is not borrowing the queue for the whole loop scope. BUG=None TEST=tast run ${IP} vm.CrostiniStartEverything Change-Id: I8eda48e41b5ec1b2d59f3177435abafb9ad5f3a3 Reviewed-on: https://chromium-review.googlesource.com/1611013 Commit-Ready: Jakub Staroń <jstaron@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |