Skip to main content

list_scope

Function list_scope 

Source
fn list_scope(vmm_handle: u64) -> Result<Option<u32>, SyscallError>
Expand description

Resolves the scope of a SYS_VMM_LIST call.

Returns None for a silo-administrator global listing (handle == 0), or Some(silo_id) when the caller holds a VMM capability: the listing is then restricted to the worlds owned by that world’s silo. This keeps the call capability-gated while allowing a supervisor to enumerate its own worlds without knowing their opaque identifiers.