We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf224b commit 1e55e2cCopy full SHA for 1e55e2c
src/loader/mod.rs
@@ -420,7 +420,7 @@ mod test {
420
const MEM_SIZE: u64 = 0x1000000;
421
422
fn create_guest_mem() -> GuestMemoryMmap {
423
- GuestMemoryMmap::new(&[(GuestAddress(0x0), (MEM_SIZE as usize))]).unwrap()
+ GuestMemoryMmap::from_ranges(&[(GuestAddress(0x0), (MEM_SIZE as usize))]).unwrap()
424
}
425
426
#[cfg(feature = "bzimage")]
0 commit comments