memfd_backed

Function memfd_backed 

Source
pub fn memfd_backed(
    regions: &[(GuestAddress, usize)],
    track_dirty_pages: bool,
    huge_pages: HugePageConfig,
) -> Result<Vec<GuestRegionMmap>, MemoryError>
Expand description

Creates a GuestMemoryMmap with size in MiB backed by a memfd.