Skip to content

Commit 1e55e2c

Browse files
rbradfordandreeaflorescu
authored andcommitted
loader: Update for latest vm-memory changes
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
1 parent caf224b commit 1e55e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ mod test {
420420
const MEM_SIZE: u64 = 0x1000000;
421421

422422
fn create_guest_mem() -> GuestMemoryMmap {
423-
GuestMemoryMmap::new(&[(GuestAddress(0x0), (MEM_SIZE as usize))]).unwrap()
423+
GuestMemoryMmap::from_ranges(&[(GuestAddress(0x0), (MEM_SIZE as usize))]).unwrap()
424424
}
425425

426426
#[cfg(feature = "bzimage")]

0 commit comments

Comments
 (0)