mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
base: Added more detailed error message on insufficient quota.
This commit is contained in:
@@ -93,8 +93,15 @@ struct Genode::Local_connection_base : Noncopyable
|
||||
|
||||
if (_session_state->phase == Session_state::INSUFFICIENT_RAM_QUOTA
|
||||
|| _session_state->phase == Session_state::INSUFFICIENT_CAP_QUOTA)
|
||||
warning("giving up to increase session quota for ", service.name(), " session "
|
||||
{
|
||||
warning("[", label, "] giving up to increase session quota for ", service.name(), " session "
|
||||
"after ", (int)NUM_ATTEMPTS, " attempts");
|
||||
if (_session_state->phase == Session_state::INSUFFICIENT_RAM_QUOTA)
|
||||
warning("Insufficient RAM quota: ", resources.ram_quota.value);
|
||||
|
||||
if (_session_state->phase == Session_state::INSUFFICIENT_CAP_QUOTA)
|
||||
warning("Insufficient CAP quota ", resources.cap_quota.value);
|
||||
}
|
||||
}
|
||||
|
||||
void close()
|
||||
|
||||
Reference in New Issue
Block a user