mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
dependencies: bump vm-memory from 4237db3 to f3d1c27
This commit updates Cloud-Hypervisor to rely on the latest version of the vm-memory crate. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
ae87455242
commit
3447e226d9
@@ -749,7 +749,7 @@ pub fn test_vm() {
|
||||
|
||||
let mem_size = 0x1000;
|
||||
let load_addr = GuestAddress(0x1000);
|
||||
let mem = GuestMemoryMmap::new(&[(load_addr, mem_size)]).unwrap();
|
||||
let mem = GuestMemoryMmap::from_ranges(&[(load_addr, mem_size)]).unwrap();
|
||||
|
||||
let kvm = Kvm::new().expect("new KVM instance creation failed");
|
||||
let vm_fd = kvm.create_vm().expect("new VM fd creation failed");
|
||||
|
||||
Reference in New Issue
Block a user