vmsilo fork of vhost rust libraries
Find a file
Stefano Garzarella e01ece1a60 vhost/kernel: handle EADDRINUSE in set_guest_cid test
When running tests in parallel (e.g. in CI), set_guest_cid() can fail
with EADDRINUSE if another test or VM already claimed the same CID.

From the test's perspective this is still a successful outcome: the
ioctl was issued correctly and the kernel rejected it for a valid
reason, so the code path is exercised either way.

Rather than complicating the test by retrying with different CIDs,
skip the assertion gracefully.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2026-02-16 14:40:08 +02:00
.buildkite revert to using normal rust-vmm-ci tests 2025-10-21 09:52:47 +02:00
.cargo cargo-config: rename to config.toml 2024-10-02 13:43:29 +02:00
.github dependabot: enable update grouping 2023-11-14 15:04:11 +01:00
rust-vmm-ci@65d339dde5 build(deps): bump rust-vmm-ci from e34c504 to 65d339d 2026-01-08 13:22:31 +02:00
vhost vhost/kernel: handle EADDRINUSE in set_guest_cid test 2026-02-16 14:40:08 +02:00
vhost-user-backend vhost_user: Add support for SHMEM_MAP/UNMAP backend requests 2025-12-10 15:28:47 +02:00
.gitignore Update .gitignore file 2021-03-01 12:50:56 +01:00
.gitmodules Switch to rust-vmm-ci for the CI 2020-09-04 17:59:53 +03:00
Cargo.toml Pin vm-memory to 0.17.1 2026-01-08 13:22:31 +02:00
CODEOWNERS CODEOWNERS: add myself as reviewer 2025-07-24 13:09:49 +02:00
coverage_config_aarch64.json vhost: Adopt new backend naming 2023-09-13 13:00:10 +02:00
coverage_config_x86_64.json Bump test coverage value for x86_64 2025-12-10 15:28:47 +02:00
LICENSE Initial commit 2019-04-03 14:38:29 +08:00
LICENSE-BSD-3-Clause Refine BSD-3-Clause license file 2021-11-26 21:19:40 +08:00
README.md vhost: Add README for the workspace 2022-10-11 12:28:33 +05:30

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 implement vhost-user backend services.