vmsilo fork of vhost rust libraries
VhostUserShMemConfig::new() previously accepted a dense slice of sizes, with region IDs implicitly assigned 0..N. Change it to accept (id, size) pairs and store each size at memory_sizes[id], leaving absent regions as zero. This makes the encoding match crosvm's vmm_vhost, where region IDs are arbitrary u8 values (e.g. VIRTIO_GPU_SHM_ID_HOST_VISIBLE = 1) rather than always starting at zero. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .buildkite | ||
| .cargo | ||
| .github | ||
| rust-vmm-ci@112dd9ffb2 | ||
| vhost | ||
| vhost-user-backend | ||
| .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.