crosvm/x86_64/src
Xiong Zhang 97a4233860 x86_64: Correct the start address of device memory
When guest ram >= 4G, as mmio hole exists in ram GuestMemory,
GuestMemory->end_addr() is larger than memsize, if memsize is used as
start address of device memory, device memory will overlap with Guest ram.

This patch use GuestMemory->end_addr() as the start address of device
memory.

BUG=None
TEST=Boot vm with guest memory above 4G, and enable vGPU, and run
vGPU benchmark.

Change-Id: Ifc28f3a022cb0a179d16fee4056016a192f2acbd
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1895232
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2019-11-05 05:19:44 +00:00
..
bootparam.rs x86_64: regenerate bootparam bindings without unions 2019-05-23 07:35:15 -07:00
bzimage.rs eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
cpuid.rs
fdt.rs x86_64: regenerate bootparam bindings without unions 2019-05-23 07:35:15 -07:00
gdt.rs
interrupts.rs x86_64: replace byteorder with {to,from}_le_bytes() 2019-08-26 23:41:51 +00:00
lib.rs x86_64: Correct the start address of device memory 2019-11-05 05:19:44 +00:00
mpspec.rs crosvm: add license blurb to all files 2019-04-24 15:51:38 -07:00
mptable.rs eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
msr_index.rs
regs.rs
smbios.rs smbios: fix clippy warnings 2019-05-22 20:57:04 -07:00