Skip to content

Commit 8f64c56

Browse files
author
Yang Kaiyong
committed
chore: bump vm-memory version to 0.14.1
Keep the same vm-memory version wiht vhost Signed-off-by: Yang Kaiyong <[email protected]>
1 parent 18d1da7 commit 8f64c56

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ radix_trie = "0.2.1"
3131
tokio = { version = "1", optional = true }
3232
tokio-uring = { version = "0.4.0", optional = true }
3333
vmm-sys-util = { version = "0.12.1", optional = true }
34-
vm-memory = { version = "0.16.1", features = ["backend-mmap"] }
35-
virtio-queue = { version = "0.14.0", optional = true }
34+
vm-memory = { version = "0.14.1", features = ["backend-mmap"] }
35+
virtio-queue = { version = "0.12.0", optional = true }
3636
vhost = { version = "0.11.0", features = ["vhost-user","vhost-user-backend"], optional = true }
3737
versionize_derive = { version = "0.1.6", optional = true }
3838
versionize = { version = "0.2.0", optional = true }
@@ -47,7 +47,7 @@ tokio-uring = { version = "0.4.0", optional = true }
4747
[dev-dependencies]
4848
tokio-test = "0.4.2"
4949
vmm-sys-util = "0.12.0"
50-
vm-memory = { version = "0.16.1", features = ["backend-mmap", "backend-bitmap"] }
50+
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-bitmap"] }
5151

5252
[features]
5353
default = ["fusedev"]

src/common/file_buf.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ impl<'a> FileVolatileSlice<'a> {
180180
}
181181
}
182182

183-
impl Bytes<usize> for FileVolatileSlice<'_> {
183+
#[allow(clippy::needless_lifetimes)]
184+
impl<'a> Bytes<usize> for FileVolatileSlice<'a> {
184185
type E = VError;
185186

186187
fn write(&self, buf: &[u8], addr: usize) -> Result<usize, Self::E> {

0 commit comments

Comments
 (0)