deps: Bump vm-memory and linux-loader version

The function GuestMemory::end_addr() has been renamed to last_addr()

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-01-13 16:45:56 +00:00
committed by Samuel Ortiz
parent 7310ab6fa7
commit 8b500d7873
4 changed files with 6 additions and 6 deletions

View File

@@ -752,7 +752,7 @@ impl DeviceManager {
{
// Add a CMOS emulated device
use vm_memory::GuestMemory;
let mem_size = _vm_info.memory.load().end_addr().0 + 1;
let mem_size = _vm_info.memory.load().last_addr().0 + 1;
let mem_below_4g = std::cmp::min(arch::layout::MEM_32BIT_RESERVED_START.0, mem_size);
let mem_above_4g = mem_size.saturating_sub(arch::layout::RAM_64BIT_START.0);