cloud-hypervisor/vhost_user_fs
Eryu Guan 18fbd303ab vhost-user-fs: return correct result of fs_slave_io()
Virtio-fs daemon expects fs_slave_io() returns the number of bytes
read/written on success, but we always return 0 and make userspace think
nothing has been read/written.

Fix it by returning the actual bytes read/written. Note that This
depends on the corresponding fix in vhost crate.

Fixes: #949
Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
2020-03-24 14:55:56 +01:00
..
src vhost-user-fs: return correct result of fs_slave_io() 2020-03-24 14:55:56 +01:00
Cargo.toml build: Bump vm-memory and linux-loader dependencies 2020-03-23 14:27:41 +00:00