diff options
author | Chirantan Ekbote <chirantan@chromium.org> | 2018-05-21 14:30:49 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-06-15 10:56:38 -0700 |
commit | a7b0a712042dcc60baf88a48d1220633ed4a192f (patch) | |
tree | c939fdd8375358c89ffdbcc620b83acee6916d23 /Cargo.lock | |
parent | dd19b2e28afe741180c58a8348905c7dcb2ce015 (diff) | |
download | crosvm-a7b0a712042dcc60baf88a48d1220633ed4a192f.tar crosvm-a7b0a712042dcc60baf88a48d1220633ed4a192f.tar.gz crosvm-a7b0a712042dcc60baf88a48d1220633ed4a192f.tar.bz2 crosvm-a7b0a712042dcc60baf88a48d1220633ed4a192f.tar.lz crosvm-a7b0a712042dcc60baf88a48d1220633ed4a192f.tar.xz crosvm-a7b0a712042dcc60baf88a48d1220633ed4a192f.tar.zst crosvm-a7b0a712042dcc60baf88a48d1220633ed4a192f.zip |
virtio-queue: Add an iterator over a descriptor chain
Add a way to iterate over all the descriptors in a descriptor chain. This is different from AvailIter, which iterates over all the descriptor chain heads in a queue. The new iterator struct provides readable() and writable() methods for iterating over just the readable or writable descriptors, respectively. BUG=chromium:703939 TEST=none Change-Id: Iea3fa5bb7662146a2d156a49ce8bb8ef00c522da Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1065172 Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions