From 80b8d0cfee2417a8b29c3957a63cffa5a2ed124d Mon Sep 17 00:00:00 2001 From: joaopeixoto13 Date: Thu, 18 Apr 2024 11:46:09 +0100 Subject: [PATCH] ref(run_io): improve MMIO error handling messages Signed-off-by: joaopeixoto13 --- src/vmm/src/vm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vmm/src/vm.rs b/src/vmm/src/vm.rs index 4afbdaa..a60274b 100644 --- a/src/vmm/src/vm.rs +++ b/src/vmm/src/vm.rs @@ -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")); } } @@ -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")); } }