mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vhost-user-fs: handle FS_IO request
Virtiofs's dax window can be used as read/write's source (e.g. mmap a file on virtiofs), but the dax window area is not shared with vhost-user backend, i.e. virtiofs daemon. To make those IO work, addresses of this kind of IO source are routed to VMM via FS_IO requests to perform a read/write from an fd directly to the given GPA. This adds the support of FS_IO request to clh's vhost-user-fs master part. Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1147,7 +1147,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "vhost"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/cloud-hypervisor/vhost?branch=dragonball#7d5a205199e3d5594494b3021635a719580fabc8"
|
||||
source = "git+https://github.com/cloud-hypervisor/vhost?branch=dragonball#af264bb39201b175607d7cc517ee2d90b8820dcc"
|
||||
dependencies = [
|
||||
"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
||||
Reference in New Issue
Block a user