vhost_user_fs: Add FileSystem trait

Add the `Filesystem` trait, which is the main interface between the
transport and the actual file system implementation.

This code has been ported over from crosvm commit
961461350c0b6824e5f20655031bf6c6bf6b7c30.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf 2019-10-31 12:21:21 -07:00 committed by Samuel Ortiz
parent 1e65bda0a7
commit 1b76c0a183
2 changed files with 1100 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,5 +2,6 @@
//
// SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause
pub mod filesystem;
pub mod fuse;
pub mod multikey;