summary refs log tree commit diff
path: root/data_model
diff options
context:
space:
mode:
authorXiong Zhang <xiong.y.zhang@intel.corp-partner.google.com>2019-10-30 19:14:18 +0800
committerCommit Bot <commit-bot@chromium.org>2019-11-05 05:19:44 +0000
commit97a42338609194154c1b8097ad35e916548c15f4 (patch)
tree3997461cac86546a90ec3d3aa29b09602cdc48b0 /data_model
parentfd75d90c7691f8d51a554d5aa3903f2d5e4dd8ac (diff)
downloadcrosvm-97a42338609194154c1b8097ad35e916548c15f4.tar
crosvm-97a42338609194154c1b8097ad35e916548c15f4.tar.gz
crosvm-97a42338609194154c1b8097ad35e916548c15f4.tar.bz2
crosvm-97a42338609194154c1b8097ad35e916548c15f4.tar.lz
crosvm-97a42338609194154c1b8097ad35e916548c15f4.tar.xz
crosvm-97a42338609194154c1b8097ad35e916548c15f4.tar.zst
crosvm-97a42338609194154c1b8097ad35e916548c15f4.zip
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>
Diffstat (limited to 'data_model')
0 files changed, 0 insertions, 0 deletions