From d1539d5274abaa49822b32d9c0b18f9675e7d789 Mon Sep 17 00:00:00 2001 From: Stefano Garzarella Date: Mon, 16 Jan 2023 14:40:19 +0100 Subject: [PATCH] vsock: require virtio-vsock 0.2.1 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] https://github.com/rust-vmm/vm-virtio/pull/207 [2] https://github.com/rust-vmm/vm-virtio/issues/216 Signed-off-by: Stefano Garzarella --- Cargo.lock | 4 ++-- crates/vsock/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f0ea1ad62..f733f37ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -813,9 +813,9 @@ dependencies = [ [[package]] name = "virtio-vsock" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4d79c8b2052025a5afaba39ca09880f5ab4623fabfe0514e587d100579d504c" +checksum = "ba7254bb0f6111fa84cb24bbf1dfb327ad02b1056ce8ed7f13962b8d0ca3aaa2" dependencies = [ "virtio-bindings", "virtio-queue", diff --git a/crates/vsock/Cargo.toml b/crates/vsock/Cargo.toml index aa192d4db..2aa627779 100644 --- a/crates/vsock/Cargo.toml +++ b/crates/vsock/Cargo.toml @@ -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"