mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
vbox6: diagnostic message on Region_conflict
Catch and log Vm_session::Region_conflict, but continue operation.
This commit is contained in:
parent
f0f66f8ccc
commit
79e391ba8d
@ -201,7 +201,12 @@ void Sup::Gmm::map_to_guest(Vmm_addr from, Guest_addr to, Pages pages, Protectio
|
||||
.writeable = prot.writeable
|
||||
};
|
||||
|
||||
_vm_connection.attach(_slices[i], to.value, attr);
|
||||
try { _vm_connection.attach(_slices[i], to.value, attr); }
|
||||
catch (Vm_session::Region_conflict const &) {
|
||||
error("region conflict while mapping guest memory",
|
||||
" (offset=", (void *)(attr.offset), " size=", Hex(attr.size),
|
||||
" to=", (void *)to.value, ")");
|
||||
}
|
||||
|
||||
to.value += attr.size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user