crosvm/devices/src
Chirantan Ekbote a7b0a71204 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>
2018-06-15 10:56:38 -07:00
..
virtio virtio-queue: Add an iterator over a descriptor chain 2018-06-15 10:56:38 -07:00
bus.rs Move crosvm/hw to a new devices module 2017-10-09 17:39:05 -07:00
cmos.rs Move crosvm/hw to a new devices module 2017-10-09 17:39:05 -07:00
i8042.rs crosvm: make port 0x61 return 0x20, preventing Guest kernel hang 2018-02-27 20:17:37 -08:00
lib.rs devices: add an emulated ARM pl030 RTC clock 2018-05-04 03:03:00 -07:00
pl030.rs devices: add an emulated ARM pl030 RTC clock 2018-05-04 03:03:00 -07:00
proxy.rs Use minijail_fork 2017-10-25 05:52:43 -07:00
serial.rs Move crosvm/hw to a new devices module 2017-10-09 17:39:05 -07:00