vmsilo fork of vhost rust libraries
`VhostBackend::set_vring_addr()` receives a vring config data which contains the addresses of desc table, used ring and avail ring. `VhostBackend::is_valid()` checks the addresses in the guest address space. `VHOST_SET_VRING_ADDR` uses the addresses in the host address space. However, the method doesn't convert those addresses. To address this issue, the addresses passed by the config are checked in the guest address space. Then, they are converted by `VringConfigData::to_vhost_vring_addr()` into the host address space to setup the vring on the kernel. Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.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.