pub fn snapshot_file(
file: File,
regions: impl Iterator<Item = (GuestAddress, usize)>,
track_dirty_pages: bool,
) -> Result<Vec<GuestRegionMmap>, MemoryError>Expand description
Creates a GuestMemoryMmap given a file containing the data
and a state containing mapping information.