pub fn serve(fs: VfsFileSystem, socket_path: &str) -> Result<()>Expand description
Serve fs over the vhost-user-fs Unix socket at socket_path, blocking until
the daemon exits (the VMM disconnects or exit_event
is signalled).
The caller is responsible for the socket lifecycle and for attaching the same
path to Cloud Hypervisor as a ShareFs device (see kata_backend.rs). Run this
on a dedicated thread; it blocks.