Skip to content

Commit

Permalink
Fix TODO: Log virtio address
Browse files Browse the repository at this point in the history
Signed-off-by: sladynnunes <snunes@usc.edu>
  • Loading branch information
sladyn98 committed Apr 5, 2023
1 parent d79b7d4 commit 63088fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/devices/src/virtio/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ impl<'a> DescriptorChain<'a> {
let desc = match mem.read_obj::<Descriptor>(desc_head) {
Ok(ret) => ret,
Err(err) => {
// TODO log address
error!("Failed to read virtio descriptor from memory: {}", err);
error!("Failed to read virtio descriptor from memory at address {:#x}: {}", desc_head.0, err);
return None;
}
};
Expand Down

0 comments on commit 63088fa

Please sign in to comment.