Skip to content

Commit

Permalink
vsock: require virtio-vsock 0.2.1
Browse files Browse the repository at this point in the history
The 0.2.1 version of virtio-vsock crate contains a fix [1] needed to
properly work with the virtio-vsock driver provided by Linux v6.3 and
later (originally the new driver was supposed to be in v6.2, but it
was postponed).

The fix was just a quick workaround, but in the future more work will
be needed in the virtio-vsock crate to not have a Linux-only specific
implementation of VsockPacket, as described in this issue [2].

[1] rust-vmm/vm-virtio#207
[2] rust-vmm/vm-virtio#216

Signed-off-by: Stefano Garzarella <[email protected]>
  • Loading branch information
stefano-garzarella committed Jan 16, 2023
1 parent 26a0f3a commit 1e0c785
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/vsock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ vhost = { version = "0.6", features = ["vhost-user-slave"] }
vhost-user-backend = "0.8"
virtio-bindings = "0.1"
virtio-queue = "0.7"
virtio-vsock = "0.2"
virtio-vsock = "0.2.1"
vm-memory = "0.10"
vmm-sys-util = "0.11"

Expand Down

0 comments on commit 1e0c785

Please sign in to comment.