summaryrefslogtreecommitdiffstats
path: root/include/migration
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-06-11 18:17:22 +0100
committerJuan Quintela <quintela@redhat.com>2015-07-07 14:54:47 +0200
commitb12f7777981953b7d939496283014740bdd6de64 (patch)
tree47523c572e0b54c85299291f741744e21938cd32 /include/migration
parent4fb5364b9096d6110c46604dbf1e19b7e766e757 (diff)
downloadhqemu-b12f7777981953b7d939496283014740bdd6de64.zip
hqemu-b12f7777981953b7d939496283014740bdd6de64.tar.gz
Translate offsets to destination address space
The 'offset' field in RDMACompress and 'current_addr' field in RDMARegister are commented as being offsets within a particular RAMBlock, however they appear to actually be offsets within the ram_addr_t space. The code currently assumes that the offsets on the source/destination match, this change removes the need for the assumption for these structures by translating the addresses into the ram_addr_t space of the destination host. Note: An alternative would be to change the fields to actually take the data they're commented for; this would potentially be simpler but would break stream compatibility for those cases that currently work. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud