Skip to content

Commit

Permalink
ref(run_io): improve MMIO error handling messages
Browse files Browse the repository at this point in the history
Signed-off-by: joaopeixoto13 <[email protected]>
  • Loading branch information
joaopeixoto13 committed Apr 18, 2024
1 parent 71aebc9 commit 80b8d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vmm/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl Vm {
{
Ok(()) => {}
Err(_err) => {
println!("Invalid Mmio write operation");
println!("Invalid Mmio write operation: {:?}", req);
return Err(Error::InvalidMmioOperation("write"));
}
}
Expand All @@ -205,7 +205,7 @@ impl Vm {
{
Ok(()) => {}
Err(_err) => {
println!("Invalid Mmio read operation");
println!("Invalid Mmio read operation: {:?}", req);
return Err(Error::InvalidMmioOperation("read"));
}
}
Expand Down

0 comments on commit 80b8d0c

Please sign in to comment.