Use our vhost fork for all crates and add GPU flake package

Use our vhost fork for all crates. It has SHMEM and GPU backend support.
Add a Nix flake package for vhost-device-gpu with the virgl backend enabled.

Also fixes duplicate imports in vhost-device-gpu/src/backend/virgl.rs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Davíð Steinn Geirsson 2026-03-22 18:40:04 +00:00
parent 329129e72d
commit 1c021aaea6
19 changed files with 695 additions and 463 deletions

View file

@ -15,8 +15,8 @@ env_logger = "0.11"
itertools = "0.14"
log = "0.4"
thiserror = "2.0"
vhost = { version = "0.15", features = ["vhost-user-backend"] }
vhost-user-backend = "0.21"
vhost = { git = "https://git.dsg.is/dsg/vhost.git", features = ["vhost-user-backend"] }
vhost-user-backend = { git = "https://git.dsg.is/dsg/vhost.git" }
virtio-bindings = "0.2"
virtio-queue = "0.17"
vm-memory = "0.17.1"