Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio_queue: Add descriptors_utils.rs
This commit adds descriptors_utils.rs from virtiofsd. This module provides the Reader/Writer classes to iterate over descriptors. Devices shall rely on this interface instead of manipulate descriptors. The version in this commit removes read_to_at() and write_from_at() that are required only for virtiofsd. To instantiate these helpers, user shall use the reader()/writer() functions defined in the context of DescriptorChain. Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
- Loading branch information