Skip to content

Commit

Permalink
Update virtio-queue to rev cc1fa35
Browse files Browse the repository at this point in the history
Update virtio-queue dependency to the latest available version, rev
"cc1fa35". This one comes with a number of fixes and new features,
such as QueueGuard and support for big-endian machines.

Signed-off-by: Sergio Lopez <[email protected]>
  • Loading branch information
slp authored and jiangliu committed Dec 3, 2021
1 parent 4047c69 commit 264d46d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ libc = ">=0.2.39"
log = ">=0.4.6"
vhost = { version = "0.2", features = ["vhost-user-slave"] }
virtio-bindings = "0.1"
virtio-queue = { git = "https://github.com/rust-vmm/vm-virtio", rev = "66cda80" }
virtio-queue = { git = "https://github.com/rust-vmm/vm-virtio", rev = "cc1fa35" }
vm-memory = {version = "0.7", features = ["backend-mmap", "backend-atomic"]}
vmm-sys-util = "0.9"

Expand Down
2 changes: 1 addition & 1 deletion src/vring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ mod tests {
assert_eq!(vring.queue_next_avail(), 0x20);

vring.set_queue_size(0x200);
assert_eq!(vring.lock().queue.actual_size(), 0x200);
assert_eq!(vring.lock().queue.state.size, 0x200);

vring.set_queue_event_idx(true);
assert_eq!(vring.lock().queue.state.event_idx_enabled, true);
Expand Down

0 comments on commit 264d46d

Please sign in to comment.