Skip to main content

admit_kvm_address_space

Function admit_kvm_address_space 

Source
pub fn admit_kvm_address_space(guest_memory_bytes: usize) -> Result<()>
Expand description

Refuses (KvmAddressSpaceRefusal) when this process, which is about to run the KVM backend, has a finite soft RLIMIT_AS; the backend would reserve guest_memory_bytes for each guest memory.