mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-04 19:11:11 +00:00
vmm: Improve logging related to memory management
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
9b0fe505ca
commit
7bb343dce8
@ -1444,6 +1444,11 @@ impl MemoryManager {
|
||||
log_dirty,
|
||||
);
|
||||
|
||||
info!(
|
||||
"Creating userspace mapping: {:x} -> {:x} {:x}, slot {}",
|
||||
guest_phys_addr, userspace_addr, memory_size, slot
|
||||
);
|
||||
|
||||
self.vm
|
||||
.create_user_memory_region(mem_region)
|
||||
.map_err(Error::CreateUserMemoryRegion)?;
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user