aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/pxe-e1000.bin
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2011-05-03 12:36:46 -0600
committerMichael S. Tsirkin <mst@redhat.com>2011-05-05 16:23:12 +0300
commit8d4c78e7c8adf0a4440a8de92738b3820fc8215a (patch)
tree845c5a98655a79ff9fb7d969418903020f39c323 /pc-bios/pxe-e1000.bin
parentc2f42bf003eac96ee4093faaf44cbf784ac64398 (diff)
CPUPhysMemoryClient: Pass guest physical address not region offset
When we're trying to get a newly registered phys memory client updated with the current page mappings, we end up passing the region offset (a ram_addr_t) as the start address rather than the actual guest physical memory address (target_phys_addr_t). If your guest has less than 3.5G of memory, these are coincidentally the same thing. If there's more, the region offset for the memory above 4G starts over at 0, so the set_memory client will overwrite it's lower memory entries. Instead, keep track of the guest phsyical address as we're walking the tables and pass that to the set_memory client. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'pc-bios/pxe-e1000.bin')
0 files changed, 0 insertions, 0 deletions