Skip to content

Commit

Permalink
descriptor-chain: add Reader/Writer consummers
Browse files Browse the repository at this point in the history
The Reader and Writer over the DescriptorChainConsumer are very
convenient because they allow to operate with a descriptor chain as if
was a regular buffer.

Move it from virtiofsd to vm-virtio so other vhost-user drivers can take
advantage of it.

https://gitlab.com/virtio-fs/virtiofsd-rs/-/issues/5

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  • Loading branch information
elmarco committed Dec 12, 2020
1 parent 9390041 commit aa702cf
Show file tree
Hide file tree
Showing 3 changed files with 869 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ harness = false
[profile.bench]
lto = true
codegen-units = 1

[patch.crates-io]
vm-memory = { git = "https://github.com/rust-vmm/vm-memory.git" }
Loading

0 comments on commit aa702cf

Please sign in to comment.