cloud-hypervisor/vhost_user_fs
Liu Bo 3f09eff6c5 vhost_user_fs: add fs cache request operations
This introduces setupmapping and removemapping methods to server.rs,
passthrough.rs and filesystem.rs in order to support virtiofs dax mode
inside guest.

Since we don't really want the server.rs to know that it is dealing with
vhost-user specifically, this is making it more generic by adding a new
trait which has three functions map()/unmap()/sync() corresponding to
fs_slave_{map, unmap, sync}, server.rs will take anything that implements
the trait.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
2020-02-19 07:52:50 +00:00
..
src vhost_user_fs: add fs cache request operations 2020-02-19 07:52:50 +00:00
Cargo.toml vhost_user_fs: add fs cache request operations 2020-02-19 07:52:50 +00:00