vmm: Improve logging related to memory management

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2021-12-02 15:41:47 +01:00
parent 9b0fe505ca
commit 7bb343dce8
2 changed files with 11 additions and 0 deletions

View File

@@ -1021,6 +1021,12 @@ impl Vm {
.checked_sub(size)
.ok_or(Error::FirmwareTooLarge)?;
info!(
"Loading RAW firmware at 0x{:x} (size: {})",
load_address.raw_value(),
size
);
self.memory_manager
.lock()
.unwrap()