vmsilo fork of vhost rust libraries
Unlike other vhost backends (e.g. vhost-net and vhost-vsock), vDPA backends can not work with host virtual address (HVA), instead they expect I/O virtual address (IOVA). The IOVA can be mapped 1:1 with guest physical address (GPA) when no IOMMU is involved. This is why the default implementation of `set_vring_addr()` from Trait `VhostBackend` is no longer working with vDPA backends. To solve this issue, this patch provides a custom `set_vring_addr()` implementation for Trait `VhostKernVdpa`. Fixes: #164 Signed-off-by: Bo Chen <chen.bo@intel.com> |
||
|---|---|---|
| .buildkite | ||
| .cargo | ||
| .github | ||
| crates | ||
| rust-vmm-ci@99fe2eb2e0 | ||
| .gitignore | ||
| .gitmodules | ||
| Cargo.toml | ||
| CODEOWNERS | ||
| coverage_config_aarch64.json | ||
| coverage_config_x86_64.json | ||
| LICENSE | ||
| LICENSE-BSD-3-Clause | ||
| README.md | ||
vhost
The vhost workspace hosts libraries related to the vhost and vhost-user
protocols. It currently consists of the following crates:
vhost-> A pure rust library for vDPA, vhost and vhost-user.vhost-user-backend-> It provides a framework to implementvhost-userbackend services.